Skip to content

Commit

Permalink
docs(demo): Replace backticks with single quotes (ant-design#44302)
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkasany authored Aug 20, 2023
1 parent 80bd54f commit 8afbe69
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
12 changes: 6 additions & 6 deletions components/tabs/demo/animated.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,27 +26,27 @@ const App: React.FC = () => {
animated={{ inkBar, tabPane }}
items={[
{
label: `Bamboo`,
label: 'Bamboo',
key: '1',
children: `Hello Bamboo!`,
children: 'Hello Bamboo!',
style: {
height: 200,
boxShadow: '0 0 3px rgba(255, 0, 0, 0.5)',
},
},
{
label: `Little`,
label: 'Little',
key: '2',
children: `Hi Little!`,
children: 'Hi Little!',
style: {
height: 300,
boxShadow: '0 0 3px rgba(0, 255, 0, 0.5)',
},
},
{
label: `Light`,
label: 'Light',
key: '3',
children: `Welcome Light!`,
children: 'Welcome Light!',
style: {
height: 100,
boxShadow: '0 0 3px rgba(0, 0, 255, 0.5)',
Expand Down
12 changes: 6 additions & 6 deletions components/tabs/demo/basic.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,18 @@ const onChange = (key: string) => {
const items: TabsProps['items'] = [
{
key: '1',
label: `Tab 1`,
children: `Content of Tab Pane 1`,
label: 'Tab 1',
children: 'Content of Tab Pane 1',
},
{
key: '2',
label: `Tab 2`,
children: `Content of Tab Pane 2`,
label: 'Tab 2',
children: 'Content of Tab Pane 2',
},
{
key: '3',
label: `Tab 3`,
children: `Content of Tab Pane 3`,
label: 'Tab 3',
children: 'Content of Tab Pane 3',
},
];

Expand Down
6 changes: 3 additions & 3 deletions components/tabs/demo/custom-tab-bar-node.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,17 +38,17 @@ const App: React.FC = () => {
const [items, setItems] = useState([
{
key: '1',
label: `Tab 1`,
label: 'Tab 1',
children: 'Content of Tab Pane 1',
},
{
key: '2',
label: `Tab 2`,
label: 'Tab 2',
children: 'Content of Tab Pane 2',
},
{
key: '3',
label: `Tab 3`,
label: 'Tab 3',
children: 'Content of Tab Pane 3',
},
]);
Expand Down

0 comments on commit 8afbe69

Please sign in to comment.