Skip to content

Commit 2e8f49a

Browse files
committed
Remove isRequired for iconCategory in Button. Buttons without icons should not need to pass in this prop
1 parent 74e7506 commit 2e8f49a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/button/index.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const propTypes = {
3434
*/
3535
iconName: React.PropTypes.string,
3636

37-
iconCategory: React.PropTypes.oneOf(['action', 'custom', 'doctype', 'standard', 'utility']).isRequired,
37+
iconCategory: React.PropTypes.oneOf(['action', 'custom', 'doctype', 'standard', 'utility']),
3838
/**
3939
* If omitted, icon position is centered.
4040
*/

0 commit comments

Comments
 (0)