Skip to content

Commit

Permalink
Clean up border values type in story
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronrobertshaw committed Oct 25, 2022
1 parent e9c4741 commit 483d7eb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/components/src/border-box-control/stories/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ import Popover from '../../popover';
import { BorderBoxControl } from '../';
import { Provider as SlotFillProvider } from '../../slot-fill';

import type { AnyBorder } from '../types';

const meta: ComponentMeta< typeof BorderBoxControl > = {
title: 'Components (Experimental)/BorderBoxControl',
component: BorderBoxControl,
Expand All @@ -45,7 +43,7 @@ const colors = [

const Template: ComponentStory< typeof BorderBoxControl > = ( props ) => {
const { onChange, ...otherProps } = props;
const [ borders, setBorders ] = useState< AnyBorder >();
const [ borders, setBorders ] = useState< typeof props[ 'value' ] >();

const onChangeMerged: ComponentProps<
typeof BorderBoxControl
Expand Down

0 comments on commit 483d7eb

Please sign in to comment.