2022-09-12 07:13:52 +00:00
|
|
|
const DividerProps = [
|
|
|
|
{
|
2022-09-14 14:26:41 +00:00
|
|
|
name: 'align',
|
|
|
|
type: 'string',
|
|
|
|
default: 'null',
|
2022-09-12 07:13:52 +00:00
|
|
|
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',
|
2022-09-12 07:13:52 +00:00
|
|
|
description: 'Specifies the orientation, valid values are "horizontal" and "vertical".'
|
|
|
|
},
|
|
|
|
{
|
2022-09-14 14:26:41 +00:00
|
|
|
name: 'type',
|
|
|
|
type: 'string',
|
|
|
|
default: 'solid',
|
2022-09-12 07:13:52 +00:00
|
|
|
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.'
|
2022-09-12 07:13:52 +00:00
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
module.exports = {
|
|
|
|
divider: {
|
2022-09-14 14:26:41 +00:00
|
|
|
name: 'Divider',
|
|
|
|
description: 'Divider is used to separate contents.',
|
2022-09-12 07:13:52 +00:00
|
|
|
props: DividerProps
|
|
|
|
}
|
|
|
|
};
|