From edb59960717330fe8544ddd5e267bceda2c9156b Mon Sep 17 00:00:00 2001 From: Chandler Prall Date: Tue, 22 Sep 2020 13:04:42 -0600 Subject: [PATCH] small cleanup --- src-docs/src/views/button/button_icon.js | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src-docs/src/views/button/button_icon.js b/src-docs/src/views/button/button_icon.js index 47b9e8cda9c..564ca4ec2c0 100644 --- a/src-docs/src/views/button/button_icon.js +++ b/src-docs/src/views/button/button_icon.js @@ -14,21 +14,27 @@ const colors = [ 'success', 'warning', 'danger', - 'disabled', ]; export default () => ( - {colors.map((color) => ( + {colors.map(color => ( window.alert('Button clicked')} iconType="arrowRight" aria-label="Next" - disabled={color === 'disabled' ? true : false} /> ))} + + window.alert('Button clicked')} + iconType="arrowRight" + aria-label="Next" + disabled + /> + );