1.0.2 • Published 10 months ago

@magicfaq/svelte v1.0.2

Weekly downloads
-
License
ISC
Repository
-
Last release
10 months ago

@magicfaq/svelte

A Svelte component for embedding the Magic FAQ widget.

Installation

To install the Magic FAQ component for Svelte, run:

npm install @magicfaq/svelte

or

yarn add @magicfaq/svelte

Usage

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

PropTypeDescription
uidstringThe unique ID of the Magic FAQ widget. This is required for the component to function properly.
positionstringThe 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.


1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago