diff --git a/apps/www/src/lib/components/ui/label/Label.svelte b/apps/www/src/lib/components/ui/label/Label.svelte index f1f17a4c1..636940778 100644 --- a/apps/www/src/lib/components/ui/label/Label.svelte +++ b/apps/www/src/lib/components/ui/label/Label.svelte @@ -1,16 +1,20 @@ - + + diff --git a/apps/www/src/lib/components/ui/label/index.ts b/apps/www/src/lib/components/ui/label/index.ts index 5a8bf391f..0b65d042b 100644 --- a/apps/www/src/lib/components/ui/label/index.ts +++ b/apps/www/src/lib/components/ui/label/index.ts @@ -1 +1,10 @@ +import { createLabel, melt } from "@melt-ui/svelte"; + export { default as Label } from "./Label.svelte"; +export { melt }; +export function getLabel() { + const { + elements: { root: label } + } = createLabel(); + return label; +}