diff --git a/spec/__snapshots__/Storyshots.test.js.snap b/spec/__snapshots__/Storyshots.test.js.snap index fe59879e..c767d82f 100644 --- a/spec/__snapshots__/Storyshots.test.js.snap +++ b/spec/__snapshots__/Storyshots.test.js.snap @@ -3510,133 +3510,6 @@ exports[`Storyshots Components/Button Danger 1`] = ` /> - - - - - - `; @@ -3657,599 +3530,156 @@ exports[`Storyshots Components/Button Link 1`] = ` - - - -`; - -exports[`Storyshots Components/Button Loading 1`] = ` -
- - - - - - - - - - - -
-`; - -exports[`Storyshots Components/Button Primary 1`] = ` -
- - - - - - - - - +
+`; + +exports[`Storyshots Components/Button Loading 1`] = ` +
+
`; -exports[`Storyshots Components/Button Transparent 1`] = ` +exports[`Storyshots Components/Button Primary 1`] = `
- +
+`; + +exports[`Storyshots Components/Button Transparent 1`] = ` +
-
-`; - -exports[`Storyshots Components/Button Warning 1`] = ` -
+ - +
+`; + +exports[`Storyshots Components/Button Warning 1`] = ` +
- {' '} - - {' '} - - {' '} - ); @@ -165,34 +137,6 @@ export const Danger = () => ( > Delete - {' '} - - {' '} - - {' '} - ); @@ -253,34 +197,6 @@ export const Warning = () => ( > Edit - {' '} - - {' '} - - {' '} - ); @@ -341,34 +257,6 @@ export const Transparent = () => ( > Skip - {' '} - - {' '} - - {' '} - ); @@ -581,25 +469,5 @@ export const Loading = () => ( > Confirm - {' '} - - {' '} - ); diff --git a/src/Button/index.js b/src/Button/index.js index 00f92ffe..803f51fb 100644 --- a/src/Button/index.js +++ b/src/Button/index.js @@ -1 +1,3 @@ -export { default, BUTTON_SIZES } from './Button'; +import Button from './Button'; + +export default Button; diff --git a/src/index.js b/src/index.js index 7db10d8a..aab2c70b 100644 --- a/src/index.js +++ b/src/index.js @@ -5,7 +5,7 @@ import { AccordionToggle, } from 'src/Accordion'; import { Alert, MessageTypes } from 'src/Alert'; -import Button, { BUTTON_SIZES } from 'src/Button'; +import Button from 'src/Button'; import Avatar from 'src/Avatar'; import Card, { CardSizes } from 'src/Card'; import { CardStack } from 'src/CardStack'; @@ -95,7 +95,6 @@ export { AsyncCreatableSelect, bugsnagClient, Button, - BUTTON_SIZES, BUTTON_GROUP_ORIENTATIONS, Card, CardSizes,