Skip to content

Commit a474191

Browse files
committed
feat: Replace deprecated button in documentation
1 parent 1aa7b61 commit a474191

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/components/Wrapper.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import React, { useState } from 'react'
22

3+
import Button from '../../react/Buttons'
34
import Divider from '../../react/Divider'
45
import Paper from '../../react/Paper'
5-
import Button from '../../react/deprecated/Button' // TODO: should remove deprecated
66
import CozyTheme from '../../react/providers/CozyTheme'
77
import { isUsingDevStyleguidist } from '../../scripts/build-utils'
88

@@ -40,8 +40,8 @@ export default ({ children }) => {
4040
<CozyTheme>
4141
<Paper className="u-pos-relative u-p-1" elevation={0} square>
4242
<Button
43-
size="tiny"
44-
theme="secondary"
43+
size="small"
44+
variant="text"
4545
label={lang}
4646
style={styles.buttonLang}
4747
onClick={handleLangClick}

0 commit comments

Comments
 (0)