feat(ui): added pagination component

This commit is contained in:
Akhil Mohan
2023-08-07 16:21:51 +05:30
parent 49bcd8839f
commit 2067c021ed
4 changed files with 144 additions and 4 deletions

View File

@@ -1,8 +1,22 @@
import { themes } from '@storybook/theming';
import '../src/styles/globals.css';
import { themes } from "@storybook/theming";
import "react-day-picker/dist/style.css";
import "../src/styles/globals.css";
export const parameters = {
actions: { argTypesRegex: '^on[A-Z].*' },
actions: { argTypesRegex: "^on[A-Z].*" },
backgrounds: {
default: "dark",
values: [
{
name: "dark",
value: "rgb(14, 16, 20)"
},
{
name: "paper",
value: "rgb(30, 31, 34)"
}
]
},
controls: {
matchers: {
color: /(background|color)$/i,
@@ -10,6 +24,6 @@ export const parameters = {
}
},
darkMode: {
dark: { ...themes.dark, appContentBg: 'rgb(14,16,20)', appBg: 'rgb(14,16,20)' }
dark: { ...themes.dark, appContentBg: "rgb(14,16,20)", appBg: "rgb(14,16,20)" }
}
};