Nighttime Possum Meandering
    Wondering what’s next for npm?Check out our public roadmap! »

    fydbak

    1.0.5 • Public • Published

    Fydbak

    Fydbak is a tool that helps React Native developers collect feedbacks and feature suggestions from their users.

    Example of Fydbak - Collect feedback from your React Native app

    Install

    npm install fydbak

    Usage

    import React, { Component } from 'react'
     
    import Fydbak from 'fydbak';
     
    function Example() {
      render () {
        return (
           <Fydbak
              visible={true}
              publicKey="your_public_key">
           </Fydbak>
        )
      }
    }

    <<<<<<< HEAD

    04c74237867680b7422f03e7ab596527cbf30365

    Properties

    You can add multiple properties to customize the look of your Fydbak component, here is how it works:

    import React, { Component } from 'react'
     
    import Fydbak from 'fydbak';
     
    function Example() {
      render () {
        return (
            <Fydbak
                visible={true}
                publicKey="your_public_key"
                fontName="Courier"
                title="Share your feedback!"
                description="We need your feedback to get better.">
            </Fydbak>
        )
      }
    }

    Available properties

    Here are the properties that you can use to customize the look and experience of Fydbak:

    publicKey: The unique key of your app, create an app on Fydbak to generate one

    visible: Set to true or false to display or hide the Fydbak modal

    onClose: Function to close the modal when clicking on the dark background.

    fontName: To customize the font used by Fydbak. The font must be loaded in your app.

    email: To pre-fill the email field.

    title: To modify the title of the feedback modal

    description: To modify the description of the feedback modal

    commentLabel: To modify the label on top of the comment field

    commentPlaceholder: To modify the placeholder of the comment field

    Install

    npm i fydbak

    DownloadsWeekly Downloads

    6

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    43.1 kB

    Total Files

    15

    Last publish

    Collaborators

    • avatar