1.0.2 • Published 7 months ago
@magicfaq/svelte v1.0.2
@magicfaq/svelte
A Svelte component for embedding the Magic FAQ widget.
Installation
To install the Magic FAQ component for Svelte, run:
npm install @magicfaq/svelteor
yarn add @magicfaq/svelteUsage
In your Svelte component, import and use the MagicFAQ component like this:
<script lang="ts">
import MagicFAQ from '@magicfaq/svelte';
</script>
<MagicFAQ uid="your-unique-id" position="top-right" />Props
| Prop | Type | Description |
|---|---|---|
uid | string | The unique ID of the Magic FAQ widget. This is required for the component to function properly. |
position | string | The position of the widget on the screen. Can be top-left, top-right, bottom-left, or bottom-right. Default is bottom-right. |
License
This project is licensed under the MIT License. See the LICENSE file for details.
Support
For support with the Magic FAQ widget, please visit our support page.