fydbak v1.0.5
Fydbak
Fydbak is a tool that helps React Native developers collect feedbacks and feature suggestions from their users.
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
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago