UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

27 lines 777 B
import { ToggleProperties } from "../Toggle/ToggleDocs.js"; export const BooleanProperties = { trueText: { doc: 'Text to show in the UI when value is `true`.', type: 'string', status: 'optional' }, falseText: { doc: 'Text to show in the UI when value is `false`.', type: 'string', status: 'optional' }, variant: { doc: 'Choice of input feature. Can be: `checkbox`, `switch`, `button`, `checkbox-button` or `buttons`.', type: 'string', status: 'optional' }, size: ToggleProperties.size }; export const BooleanEvents = { onClick: { doc: 'Will be called on click.', type: '(value: unknown, { event: ClickEvent, preventDefault: () => void }) => void', status: 'optional' } }; //# sourceMappingURL=BooleanDocs.js.map