@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
65 lines (64 loc) • 2.1 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.StepProperties = exports.StepEvents = void 0;
const StepProperties = exports.StepProperties = {
title: {
doc: 'An unique title of the step.',
type: 'React.Node',
status: 'required'
},
inactive: {
doc: 'Will treat the step as non-navigable if set to `true`.',
type: 'boolean',
status: 'optional'
},
required: {
doc: 'Will make all nested form fields required.',
type: 'boolean',
status: 'optional'
},
include: {
doc: 'If set to `false`, the step will not be rendered.',
type: 'boolean',
status: 'optional'
},
includeWhen: {
doc: 'Provide a `path` and a `hasValue` property with the expected value in order to enable the step. You can alternatively provide a `hasValue` function that returns a boolean. The first parameter is the value of the path.',
type: 'object',
status: 'optional'
},
keepInDOM: {
doc: 'Determines if the step should be kept in the DOM. Defaults to `false`.',
type: 'boolean',
status: 'optional'
},
children: {
doc: 'Contents.',
type: 'React.Node',
status: 'required'
},
'[Flex.Container](/uilib/layout/flex/container/properties)': {
doc: 'Flex.Container properties.',
type: 'Various',
status: 'optional'
},
'[Space](/uilib/layout/space/properties)': {
doc: 'Spacing properties like `top` or `bottom` are supported.',
type: ['string', 'object'],
status: 'optional'
},
active: {
doc: 'Deprecated, use `include`. Old docs: If set to `false`, the step will not be rendered.',
type: 'boolean',
status: 'deprecated'
},
activeWhen: {
doc: 'Deprecated, use `includeWhen`. Old docs: Provide a `path` and a `hasValue` property with the expected value in order to enable the step. You can alternatively provide a `hasValue` function that returns a boolean. The first parameter is the value of the path.',
type: 'object',
status: 'deprecated'
}
};
const StepEvents = exports.StepEvents = {};
//# sourceMappingURL=StepDocs.js.map