diff --git a/CHANGELOG.md b/CHANGELOG.md index 3cf2e3b..7675939 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -25,6 +25,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Fixed +## [1.1.11] - 2021-02-26 + +### Fixed + +- Fixed an issue where the button classes weren't being applied if using icon variant + ## [1.1.10] - 2021-02-26 ### Changes diff --git a/package.json b/package.json index 8e881da..ed65757 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@perimetre/ui", "description": "A component library made by @perimetre", - "version": "1.1.10", + "version": "1.1.11", "repository": { "type": "git", "url": "git+https://github.com/perimetre/ui.git" diff --git a/src/components/Button/index.tsx b/src/components/Button/index.tsx index 5adf5d5..68e5024 100644 --- a/src/components/Button/index.tsx +++ b/src/components/Button/index.tsx @@ -35,16 +35,15 @@ export type ButtonProps = React.DetailedHTMLProps( ({ size = 'medium', variant = 'default', isChip, className, children, ...props }, ref) => { const isIcon = variant === 'icon'; + return (