UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

41 lines (40 loc) 1.09 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.OptionProperties = void 0; var _FieldDocs = require("../FieldDocs.js"); const OptionProperties = exports.OptionProperties = { value: { doc: 'Value for this option.', type: ['string', 'number'], status: 'optional' }, title: { doc: 'Title for the option. Overrides `children`.', type: ['string', 'React.Node'], status: 'optional' }, groupIndex: { doc: `What group index in the \`groups\` prop ([Field.Selection](/uilib/extensions/forms/base-fields/Selection/)) this item belongs to.`, type: 'number', status: 'optional' }, text: { doc: 'Secondary text.', type: ['string', 'React.Node'], status: 'optional' }, disabled: { doc: 'Will disable the option.', type: 'boolean', status: 'optional' }, help: _FieldDocs.FieldProperties.help, children: { doc: 'Optional way to provide `title`. Will be ignored if `title` is used.', type: 'React.Node', status: 'optional' } }; //# sourceMappingURL=OptionDocs.js.map