primevue-mirror/api-generator/components/divider.js

41 lines
1.1 KiB
JavaScript
Raw Permalink Normal View History

const DividerProps = [
{
2022-09-14 14:26:41 +00:00
name: 'align',
type: 'string',
default: 'null',
description: 'Alignment of the content, options are "left", "center", "right" for horizontal layout and "top", "center", "bottom" for vertical.'
},
{
2022-09-14 14:26:41 +00:00
name: 'layout',
type: 'string',
default: 'horizontal',
description: 'Specifies the orientation, valid values are "horizontal" and "vertical".'
},
{
2022-09-14 14:26:41 +00:00
name: 'type',
type: 'string',
default: 'solid',
description: 'Border style type, default is "solid" and other options are "dashed" and "dotted".'
2023-03-28 12:30:44 +00:00
},
{
name: 'pt',
type: 'any',
default: 'null',
2023-08-01 14:01:12 +00:00
description: 'Used to pass attributes to DOM elements inside the component.'
2023-07-06 13:20:37 +00:00
},
{
name: 'unstyled',
type: 'boolean',
default: 'false',
description: 'When enabled, it removes component related styles in the core.'
}
];
module.exports = {
divider: {
2022-09-14 14:26:41 +00:00
name: 'Divider',
description: 'Divider is used to separate contents.',
props: DividerProps
}
};