diff --git a/packages/forms/package.json b/packages/forms/package.json new file mode 100644 index 0000000..c69a35e --- /dev/null +++ b/packages/forms/package.json @@ -0,0 +1,17 @@ +{ + "name": "@bootwind/button", + "version": "0.0.0", + "description": "", + "main": "index.js", + "scripts": { + "test": "echo \"Error: no test specified\" && exit 1" + }, + "keywords": [], + "author": "", + "license": "ISC", + "peerDependencies": { + "react": "^18.2.0", + "@types/react": "^18.2.15", + "@types/react-dom": "^18.2.14" + } +} diff --git a/packages/checkbox/src/index.tsx b/packages/forms/src/checkbox/index.tsx similarity index 100% rename from packages/checkbox/src/index.tsx rename to packages/forms/src/checkbox/index.tsx diff --git a/packages/checkbox/stories/Checkbox.stories.tsx b/packages/forms/stories/Checkbox.stories.tsx similarity index 90% rename from packages/checkbox/stories/Checkbox.stories.tsx rename to packages/forms/stories/Checkbox.stories.tsx index c669b6a..6b6fd65 100644 --- a/packages/checkbox/stories/Checkbox.stories.tsx +++ b/packages/forms/stories/Checkbox.stories.tsx @@ -1,9 +1,9 @@ import React from 'react'; import { Meta } from '@storybook/react'; -import Checkbox, { CheckboxProps } from '../src/index'; +import Checkbox, { CheckboxProps } from '../src/checkbox/index'; export default { - title: 'Components/Checkbox', + title: 'Forms/Checkbox', component: Checkbox, argTypes: { isRounded: { control: 'boolean' }, diff --git a/packages/forms/tsconfig.json b/packages/forms/tsconfig.json new file mode 100644 index 0000000..15bbb89 --- /dev/null +++ b/packages/forms/tsconfig.json @@ -0,0 +1,4 @@ +{ + "extends": ["../../tsconfig.json"], + "include": ["src"] +} \ No newline at end of file