UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

33 lines (32 loc) 961 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.BooleanProperties = exports.BooleanEvents = void 0; var _ToggleDocs = require("../Toggle/ToggleDocs.js"); const BooleanProperties = exports.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: _ToggleDocs.ToggleProperties.size }; const BooleanEvents = exports.BooleanEvents = { onClick: { doc: 'Will be called on click.', type: '(value: unknown, { event: ClickEvent, preventDefault: () => void }) => void', status: 'optional' } }; //# sourceMappingURL=BooleanDocs.js.map