style(storybook): refine feedback story layout
This commit is contained in:
1 parent
cd60ab661a
commit
3868ca09c7
2 files changed
+4
-11
No files matched your search
@@ -27,9 +27,9 @@ export const All: Story = {
|
|||||||
render: () => (
|
render: () => (
|
||||||
<StoryPage>
|
<StoryPage>
|
||||||
<StoryPageHeader title="Alert" />
|
<StoryPageHeader title="Alert" />
|
||||||
<StorySection title="Overview">
|
<StorySection title="Variants">
|
||||||
<StateBoard
|
<StateBoard
|
||||||
min={320}
|
min={360}
|
||||||
states={[
|
states={[
|
||||||
{
|
{
|
||||||
id: "default",
|
id: "default",
|
||||||
@@ -42,13 +42,6 @@ export const All: Story = {
|
|||||||
</Alert>
|
</Alert>
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
]}
|
|
||||||
/>
|
|
||||||
</StorySection>
|
|
||||||
<StorySection title="Variants">
|
|
||||||
<StateBoard
|
|
||||||
min={320}
|
|
||||||
states={[
|
|
||||||
{
|
{
|
||||||
id: "destructive",
|
id: "destructive",
|
||||||
label: "Destructive",
|
label: "Destructive",
|
||||||
@@ -65,7 +58,7 @@ export const All: Story = {
|
|||||||
</StorySection>
|
</StorySection>
|
||||||
<StorySection title="Usage">
|
<StorySection title="Usage">
|
||||||
<StateBoard
|
<StateBoard
|
||||||
min={320}
|
min={360}
|
||||||
states={[
|
states={[
|
||||||
{
|
{
|
||||||
id: "no-icon",
|
id: "no-icon",
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ function Trigger({ onClick, children }: { onClick: () => void; children: ReactNo
|
|||||||
function Board({ ids }: { ids: string[] }) {
|
function Board({ ids }: { ids: string[] }) {
|
||||||
return (
|
return (
|
||||||
<StateBoard
|
<StateBoard
|
||||||
min={220}
|
min={360}
|
||||||
states={[
|
states={[
|
||||||
{
|
{
|
||||||
id: "types",
|
id: "types",
|
||||||
|
|||||||
Reference in new issue
Block a user