Skip to content

Commit

Permalink
chore(Collapse): remove useless propTypes comments
Browse files Browse the repository at this point in the history
  • Loading branch information
YSMJ1994 committed Mar 7, 2024
1 parent 462635c commit 7587cfb
Showing 1 changed file with 0 additions and 27 deletions.
27 changes: 0 additions & 27 deletions components/collapse/collapse.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,41 +15,14 @@ class Collapse extends React.Component<
}
> {
static propTypes = {
/**
* 样式前缀
*/
prefix: PropTypes.string,
/**
* 组件接受行内样式
*/
style: PropTypes.object,
/**
* 使用数据模型构建
*/
dataSource: PropTypes.array,
/**
* 默认展开 keys
*/
defaultExpandedKeys: PropTypes.array,
/**
* 受控展开 keys
*/
expandedKeys: PropTypes.array,
/**
* 展开状态发升变化时候的回调
*/
onExpand: PropTypes.func,
/**
* 所有禁用
*/
disabled: PropTypes.bool,
/**
* 扩展 class
*/
className: PropTypes.string,
/**
* 手风琴模式,一次只能打开一个
*/
accordion: PropTypes.bool,
children: PropTypes.node,
id: PropTypes.string,
Expand Down

0 comments on commit 7587cfb

Please sign in to comment.