UNPKG

@stanfordspezi/spezi-web-design-system

Version:

Stanford Biodesign Digital Health Spezi Web Design System

25 lines (24 loc) 1.14 kB
import { Meta } from '@storybook/react'; import { Field } from './Field'; declare const meta: Meta<typeof Field>; export default meta; export declare const RegisteredField: () => import("react").JSX.Element; export declare const Label: () => import("react").JSX.Element; /** * Field errors are coming from formSchema validation * This is just example */ export declare const Error: () => import("react").JSX.Element; export declare const Tooltip: () => import("react").JSX.Element; /** * By default, Field reserves minimum space for the error message even when there is no error, * which helps reduce layout shifts for typical single-line errors. The text below the fields * is less likely to move when errors are shown or hidden. */ export declare const CheckEmptyErrorOff: () => import("react").JSX.Element; /** * With `checkEmptyError` enabled, the error element is removed from the DOM when empty. * This causes surrounding content to shift when errors appear or disappear. */ export declare const CheckEmptyErrorOn: () => import("react").JSX.Element; export declare const CustomLabelElements: () => import("react").JSX.Element;