diff --git a/react/Buttons/Readme.md b/react/Buttons/Readme.md index b45fcc1bd1..15e2273474 100644 --- a/react/Buttons/Readme.md +++ b/react/Buttons/Readme.md @@ -14,7 +14,6 @@ import Stack from 'cozy-ui/transpiled/react/Stack' import Grid from 'cozy-ui/transpiled/react/Grid' import Paper from 'cozy-ui/transpiled/react/Paper' import Icon from 'cozy-ui/transpiled/react/Icon' -import PlusIcon from 'cozy-ui/transpiled/react/Icons/Plus' const variants = ['primary', 'secondary', 'ghost', 'text'] const propsArr = [{}, { disabled: true }, { busy: true }] @@ -73,7 +72,9 @@ import Stack from 'cozy-ui/transpiled/react/Stack' import Grid from 'cozy-ui/transpiled/react/Grid' import Paper from 'cozy-ui/transpiled/react/Paper' import PlusIcon from 'cozy-ui/transpiled/react/Icons/Plus' +import StopIcon from 'cozy-ui/transpiled/react/Icons/Stop' import Icon from 'cozy-ui/transpiled/react/Icon' +import ArrowUpIcon from 'cozy-ui/transpiled/react/Icons/ArrowUp' const variants = ['primary', 'secondary', 'ghost', 'text'] const iconPositions = ['startIcon', 'endIcon'] @@ -82,7 +83,7 @@ const iconPositions = ['startIcon', 'endIcon'] {iconPositions.map(iconPosition => - +
{iconPosition}
{variants.map(variant => @@ -90,22 +91,50 @@ const iconPositions = ['startIcon', 'endIcon'] @@ -505,7 +505,7 @@ exports[`Buttons should render examples: Buttons 3`] = `
-
+
endIcon
@@ -514,13 +514,22 @@ exports[`Buttons should render examples: Buttons 3`] = `
-
+
label is only icon
-
-
-
-
+
+
+
+
+
+
+
+
+
round icon button
+
+
+
+