@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
37 lines (36 loc) • 1.07 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.ElementPropertiesWithoutSkeleton = exports.ElementProperties = void 0;
const ElementPropertiesWithoutSkeleton = exports.ElementPropertiesWithoutSkeleton = {
ref: {
doc: 'Send along a custom `React.Ref`.',
type: 'React.RefObject',
status: 'optional'
},
children: {
doc: 'Contents.',
type: 'React.ReactNode',
status: 'optional'
},
'[Space](/uilib/layout/space/properties)': {
doc: 'Spacing properties like `top` or `bottom` are supported.',
type: ['string', 'object'],
status: 'optional'
}
};
const ElementProperties = exports.ElementProperties = {
...ElementPropertiesWithoutSkeleton,
skeleton: {
doc: 'If set to `true`, an overlaying skeleton with animation will be shown.',
type: 'boolean',
status: 'optional'
},
skeletonMethod: {
doc: 'Can be `shape`, `font` or `code`. Defaults to `font`.',
type: ['"shape"', '"font"', '"code"'],
status: 'optional'
}
};
//# sourceMappingURL=ElementDocs.js.map