Skip to content

Commit 7e76065

Browse files
committed
✨ feat: filter component
1 parent 8a64266 commit 7e76065

File tree

5 files changed

+24
-0
lines changed

5 files changed

+24
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
import type { Meta, StoryObj } from '@storybook/react';
2+
3+
import { Filter as FilterComponent } from './Filter';
4+
5+
type Story = StoryObj<typeof FilterComponent>;
6+
7+
const meta: Meta<typeof FilterComponent> = {
8+
title: 'In Review/Filter',
9+
component: FilterComponent,
10+
};
11+
12+
export const Filter: Story = {
13+
render: () => (
14+
<div className="max-w-[350px] flex flex-col gap-2">
15+
<FilterComponent />
16+
</div>
17+
),
18+
};
19+
20+
export default meta;

lib/components/Filter/Filter.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export const Filter = () => {
2+
return <div>Filter</div>;
3+
};

lib/components/Filter/Filter.types.ts

Whitespace-only changes.

lib/components/Filter/Filter.variants.ts

Whitespace-only changes.

lib/components/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export * from './Checkbox/Checkbox';
99
export * from './Datepicker/DatePicker';
1010
export * from './Divider/Divider';
1111
export * from './Dropdown/Dropdown';
12+
export * from './Filter/Filter';
1213
export * from './Input/Input';
1314
export * from './Loading/Loading';
1415
export * from './Modal/Modal';

0 commit comments

Comments
 (0)