Skip to content

Commit

Permalink
test(status-indicator): Fix visual testing story icons (#732)
Browse files Browse the repository at this point in the history
* test(status-indicator): Fix visual testing story icons

Co-authored-by: Lynn Chyi <[email protected]>
  • Loading branch information
anicholls and lychyi authored Jun 11, 2020
1 parent 81a8db8 commit b19ac7c
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
withSnapshotsEnabled,
} from '../../../../utils/storybook';

import {StatusIndicator} from '../';
import {StatusIndicator, StatusIndicatorProps} from '../';
import {uploadCloudIcon} from '@workday/canvas-system-icons-web';

export default withSnapshotsEnabled({
Expand Down Expand Up @@ -36,9 +36,7 @@ export const StatusIndicatorStates = () => (
],
})}
>
{({type, emphasis, props}) => (
<StatusIndicator type={type} emphasis={emphasis} {...props} label="Status" />
)}
{(props: StatusIndicatorProps) => <StatusIndicator {...props} label="Status" />}
</ComponentStatesTable>
</StaticStates>
);

0 comments on commit b19ac7c

Please sign in to comment.