Skip to content

Commit

Permalink
docs(Empty State): remove unused constants (#696)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cata1989 authored Dec 7, 2023
1 parent 367de74 commit ac82fa6
Showing 1 changed file with 0 additions and 38 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,44 +23,6 @@ export default meta;

type Story = StoryObj;

const Template = (args: Args) => html` <bq-empty-state size=${args.size}> Title </bq-empty-state> `;

const TemplateWithBody = (args: Args) => html`
<div class="flex flex-row gap-20">
<bq-empty-state size=${args.size}>
Title
<span slot="body"> Description </span>
</bq-empty-state>
<bq-empty-state size=${args.size}>
Title <span slot="body"> Description <a class="bq-link" href="https://example.com">Link</a> </span>
</bq-empty-state>
</div>
`;

const TemplateWithCTA = (args: Args) => html`
<div class="flex flex-row gap-20">
<bq-empty-state size=${args.size}>
Title <span slot="body"> Description <a class="bq-link" href="https://example.com">Link</a> </span>
<div class="flex gap-xs" slot="footer">
<bq-button appearance="primary" size="small"> Button </bq-button>
</div>
</bq-empty-state>
<bq-empty-state size=${args.size}>
Title <span slot="body"> Description <a class="bq-link" href="https://example.com">Link</a> </span>
<div class="flex gap-xs" slot="footer">
<bq-button size="small" variant="ghost"> Button </bq-button>
</div>
</bq-empty-state>
<bq-empty-state size=${args.size}>
Title <span slot="body"> Description <a class="bq-link" href="https://example.com">Link</a> </span>
<div class="flex gap-xs" slot="footer">
<bq-button size="small" variant="ghost"> Button </bq-button>
<bq-button appearance="primary" size="small"> Button </bq-button>
</div>
</bq-empty-state>
</div>
`;

export const Default: Story = {
render: (args: Args) => html` <bq-empty-state size=${args.size}> Title </bq-empty-state> `,
};
Expand Down

0 comments on commit ac82fa6

Please sign in to comment.