@dnb/eufemia
Version:
DNB Eufemia Design System UI Library
54 lines (53 loc) • 1.72 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.LogoProperties = void 0;
const LogoProperties = exports.LogoProperties = {
svg: {
doc: 'Provide a custom SVG to render instead of the built-in logos. Accepts a React SVG component or element. Width, height and color props still apply.',
type: ['React.Component', 'React.Element'],
status: 'optional'
},
brand: {
doc: 'Define which brands logo to show. Defaults to `dnb`.',
type: ['dnb', 'sbanken'],
status: 'optional'
},
variant: {
doc: 'Define the logo variant, if there is more than one variant of a brands logo. Currently the only option other than default is `compact` and `compactHorizontal` variant of the Sbanken logo. Defaults to `default`.',
type: ['"default"', '"compact"', '"compactHorizontal"'],
status: 'deprecated'
},
color: {
doc: 'Define the color of the logo.',
type: 'string',
status: 'optional'
},
inheritColor: {
doc: 'Set to `true` if you do not want to inherit the color by `currentColor`. Defaults to `false`.',
type: 'boolean',
status: 'optional'
},
inheritSize: {
doc: 'Set to `true` if you want to inherit the size of the parent. Defaults to `false`.',
type: 'boolean',
status: 'optional'
},
width: {
doc: 'Define the width of the logo.',
type: 'string',
status: 'optional'
},
height: {
doc: 'Define the height of the logo.',
type: 'string',
status: 'optional'
},
'[Space](/uilib/layout/space/properties)': {
doc: 'Spacing properties like `top` or `bottom` are supported.',
type: ['string', 'object'],
status: 'optional'
}
};
//# sourceMappingURL=LogoDocs.js.map