Skip to content

Commit

Permalink
Remove unused prop enum of l in EuiButton (#1936)
Browse files Browse the repository at this point in the history
* Remove unused prop enum of `l` in `EuiButton`
  • Loading branch information
andreadelrio authored May 8, 2019
1 parent 5e15e80 commit 3988503
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 17 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## [`master`](https://github.com/elastic/eui/tree/master)

No public interface changes since `11.0.1`.
- Removed unused prop enum of `l` in `EuiButton` ([#1936](https://github.com/elastic/eui/pull/1936))

## [`11.0.1`](https://github.com/elastic/eui/tree/v11.0.1)

Expand Down
15 changes: 0 additions & 15 deletions src/components/button/__snapshots__/button.test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -283,21 +283,6 @@ exports[`EuiButton props isLoading is rendered 1`] = `
</button>
`;

exports[`EuiButton props size l is rendered 1`] = `
<button
class="euiButton euiButton--primary euiButton--large"
type="button"
>
<span
class="euiButton__content"
>
<span
class="euiButton__text"
/>
</span>
</button>
`;

exports[`EuiButton props size m is rendered 1`] = `
<button
class="euiButton euiButton--primary"
Expand Down
1 change: 0 additions & 1 deletion src/components/button/button.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ export const COLORS = Object.keys(colorToClassNameMap);
const sizeToClassNameMap = {
s: 'euiButton--small',
m: null,
l: 'euiButton--large',
};

export const SIZES = Object.keys(sizeToClassNameMap);
Expand Down

0 comments on commit 3988503

Please sign in to comment.