From b7ced96cf33c6aa43bfbbb413bb7702492d252fe Mon Sep 17 00:00:00 2001 From: Armagan Ersoz Date: Tue, 29 Aug 2023 14:46:26 +1000 Subject: [PATCH] Button: Make button visuals overridable by sx --- src/Button/Button.dev.stories.tsx | 6 +++++- src/Button/Button.tsx | 18 ++++++++++++++---- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/src/Button/Button.dev.stories.tsx b/src/Button/Button.dev.stories.tsx index 77d71808dcb..151bdb31c51 100644 --- a/src/Button/Button.dev.stories.tsx +++ b/src/Button/Button.dev.stories.tsx @@ -1,6 +1,7 @@ -import {SearchIcon, TriangleDownIcon, EyeIcon} from '@primer/octicons-react' +import {SearchIcon, TriangleDownIcon, EyeIcon, IssueClosedIcon} from '@primer/octicons-react' import React from 'react' import {Button, IconButton} from '.' +import {default as Text} from '../Text' export default { title: 'Components/Button/DevOnly', @@ -70,6 +71,9 @@ export const TestSxProp = () => { +