1 | /// <reference types="react" />
|
2 |
|
3 | import * as React from 'react';
|
4 | import CommonProps from '../util';
|
5 |
|
6 | export interface DividerProps extends React.HTMLAttributes<HTMLElement>, CommonProps {
|
7 | /**
|
8 | * 是否为虚线
|
9 | */
|
10 | dashed?: boolean;
|
11 | /**
|
12 | * 线是水平还是垂直类型
|
13 | */
|
14 | direction?: 'hoz' | 'ver';
|
15 | /**
|
16 | * 分割线标题的位置
|
17 | */
|
18 | orientation?: 'left' | 'right' | 'center';
|
19 |
|
20 | }
|
21 |
|
22 | export default class Divider extends React.Component<DividerProps, any> {}
|