diff --git a/apps/docs/utils/decorators.tsx b/apps/docs/utils/decorators.tsx index 5289477..d112245 100644 --- a/apps/docs/utils/decorators.tsx +++ b/apps/docs/utils/decorators.tsx @@ -1,6 +1,34 @@ import { Decorator } from "@storybook/react"; import { useEffect, useState } from "react"; +export const hiddenLabelDecorator: (htmlFor: string) => Decorator = ( + htmlFor, +) => { + const decorator: Decorator = (Story) => ( + <> + + + + ); + + return decorator; +}; + export const marginDecorator: ( margin: | {