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".'
|
|
|
|
}
|
|
|
|
];
|
|
|
|
|
|
|
|
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
|
|
|
|
}
|
|
|
|
};
|