Skip to content

Commit 1a6f5f0

Browse files
committed
Added new logic to ease displaying all the variants in stories
1 parent 364a08f commit 1a6f5f0

3 files changed

Lines changed: 212 additions & 259 deletions

File tree

packages/lib/.storybook/components/ExampleContainer.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { ReactNode } from "react";
22
import styled from "@emotion/styled";
33

4-
type PseudoStates =
4+
export type PseudoState =
55
| "pseudo-active"
66
| "pseudo-focus"
77
| "pseudo-focus-visible"
@@ -13,7 +13,7 @@ type PseudoStates =
1313

1414
type Props = {
1515
children?: ReactNode;
16-
pseudoState?: PseudoStates | PseudoStates[];
16+
pseudoState?: PseudoState | PseudoState[];
1717
expanded?: boolean;
1818
};
1919

0 commit comments

Comments
 (0)