@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
46 lines (45 loc) • 1.39 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.HelpButtonProperties = exports.HelpButtonEvents = void 0;
const HelpButtonProperties = exports.HelpButtonProperties = {
children: {
doc: 'The content to show.',
type: 'React.Node',
status: 'optional'
},
title: {
doc: 'The content title. Defaults to `Hjelpetekst` (HelpButton.title).',
type: 'string',
status: 'optional'
},
icon: {
doc: 'To be included in the button. [Primary Icons](/icons/primary) can be set as a string (e.g. `icon="information"`), other icons should be set as React elements.',
type: ['string', 'React.ReactNode'],
status: 'optional'
},
render: {
doc: 'Accepts a function that returns a valid React Element. See example below.',
type: 'function',
status: 'optional'
},
'[Button](/uilib/components/button/properties)': {
doc: 'All button properties.',
type: 'Various',
status: 'optional'
},
'[Space](/uilib/layout/space/properties)': {
doc: 'Spacing properties like `top` or `bottom` are supported.',
type: ['string', 'object'],
status: 'optional'
}
};
const HelpButtonEvents = exports.HelpButtonEvents = {
'[Button](/uilib/components/button/events)': {
doc: 'Accepts all Button events.',
type: 'Various',
status: 'optional'
}
};
//# sourceMappingURL=HelpButtonDocs.js.map