unify-ui-dev / flexilla

Interactive Component Library
https://flexilla-docs.vercel.app/
MIT License
15 stars 5 forks source link

Change library synthax #29

Closed Tresor-Kasenda closed 7 months ago

Tresor-Kasenda commented 7 months ago

when we trying to use the accordion we need to implement the accordion instead of

import { Accordion } from "@flexilla/flexilla";

new Accordion("selector", "property");

or

let accc = document.querySelector("[data-accordion]")
new Accordion(accc, "property");