Skip to content

Commit

Permalink
feat: add new page header layout
Browse files Browse the repository at this point in the history
  • Loading branch information
sapkra committed Jun 13, 2024
1 parent ddec5fa commit 818e35d
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/fragments/shell/Shell.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
IconBoxMultiple,
IconHome,
IconMessageCircle,
IconPlus,
} from "@tabler/icons-react";
import { Shell } from "./Shell";
import {
Expand All @@ -22,7 +23,8 @@ import {
BreadcrumbItem,
Breadcrumbs,
Textarea,
Switch
Switch,
Button
} from "../../components/base";
import { Form } from "../form/Form";
import { FormSection } from "../form/FormSection";
Expand Down Expand Up @@ -173,9 +175,13 @@ export const WithTable: Story = {
} : undefined,
children: (
<>
<h1>Customers</h1>
<p className="mt-2 text-foreground-500">Blablabla</p>
<Divider className="my-4" />
<header className="flex gap-4 justify-between sm:items-end mb-8 flex-col sm:flex-row">
<div>
<h1>Customers</h1>
<p className="mt-2 text-foreground-500">Blablabla</p>
</div>
<div><Button endContent={<IconPlus stroke={1.5} />} className="w-full" color="primary">Create</Button></div>
</header>
<Tabs aria-label="Options">
<Tab key="table" title="Table">
<Table
Expand Down

0 comments on commit 818e35d

Please sign in to comment.