UNPKG

@dnb/eufemia

Version:

DNB Eufemia Design System UI Library

35 lines 947 B
import { FieldProperties } from "../FieldDocs.js"; export const 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: 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