mirror of
https://github.com/ant-design/ant-design.git
synced 2025-08-06 16:06:28 +08:00
fix: Tabs snapshot tests
This commit is contained in:
parent
6bcd88f5c0
commit
b90237ee6f
@ -23,8 +23,8 @@ class Demo extends React.Component {
|
||||
super(props);
|
||||
this.newTabIndex = 0;
|
||||
const panes = [
|
||||
{ title: 'Tab 1', content: 'Content of Tab Pane 1', key: '1' },
|
||||
{ title: 'Tab 2', content: 'Content of Tab Pane 2', key: '2' },
|
||||
{ title: 'Tab 1', content: 'Content of Tab 1', key: '1' },
|
||||
{ title: 'Tab 2', content: 'Content of Tab 2', key: '2' },
|
||||
];
|
||||
this.state = {
|
||||
activeKey: panes[0].key,
|
||||
|
Loading…
Reference in New Issue
Block a user