diff --git a/packages/components/src/button/README.md b/packages/components/src/button/README.md index bf71236c408ae3..6cecc1c5957288 100644 --- a/packages/components/src/button/README.md +++ b/packages/components/src/button/README.md @@ -132,7 +132,6 @@ Name | Type | Default | Description `isPrimary` | `bool` | `false` | Renders a primary button style. `isTertiary` | `bool` | `false` | Renders a text-based button style. `isDestructive` | `bool` | `false` | Renders a red text-based button style to indicate destructive behavior. -`isLarge` | `bool` | `false` | Increases the size of the button. `isSmall` | `bool` | `false` | Decreases the size of the button. `isPressed` | `bool` | `false` | Renders a pressed button style. `isBusy` | `bool` | `false` | Indicates activity while a action is being performed. diff --git a/packages/components/src/button/index.js b/packages/components/src/button/index.js index 7e5acfb6f2ccf6..a5b3f8eb8bd2e2 100644 --- a/packages/components/src/button/index.js +++ b/packages/components/src/button/index.js @@ -23,7 +23,6 @@ export function Button( props, ref ) { href, target, isPrimary, - isLarge, isSmall, isTertiary, isPressed, @@ -54,7 +53,6 @@ export function Button( props, ref ) { const classes = classnames( 'components-button', className, { 'is-secondary': isDefault || isSecondary, 'is-primary': isPrimary, - 'is-large': isLarge, 'is-small': isSmall, 'is-tertiary': isTertiary, 'is-pressed': isPressed, diff --git a/packages/components/src/button/test/index.js b/packages/components/src/button/test/index.js index 6280376f6c6d31..49de9ef1d59ad2 100644 --- a/packages/components/src/button/test/index.js +++ b/packages/components/src/button/test/index.js @@ -35,13 +35,6 @@ describe( 'Button', () => { expect( button.hasClass( 'is-primary' ) ).toBe( true ); } ); - it( 'should render a button element with is-large class', () => { - const button = shallow(