afex-app-widget v1.3.3
WidgetController Package
Installation
To install the WidgetController package, run the following command:
npm install afex-app-widget
Usage
Import the WidgetController component from the package and use it in your code as shown below:
import React from 'react';
import { WidgetController } from 'afex-app-widget';
function App() {
return (
<div>
<h1>My App</h1>
<WidgetController
position="right"
apiKey="someapikey"
email="hello@mail.com"
/>
</div>
);
}
Props
The WidgetController component accepts the following props:
position (optional): Specifies the position of the widget. It can be either "left" or "right". If not provided, the default position is "left".
email (required): Specifies the email associated with the widget.
width (optional): Specifies the width of the widget. You can provide a string value representing the width. If not provided, the widget will have the default width.
apiKey (required): Specifies the API key for authentication.
1 day ago
1 day ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
9 months ago
9 months ago
9 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago
11 months ago