0.0.21-alpha • Published 9 months ago
@ybot1122/toby-ui v0.0.21-alpha
toby-ui
Collection of Reusable React Components. Please refer to package.json peerDependencies to see which libraries this component library relies on. This package is zero-dependency.
Install
- Install toby-ui as a Node package:
npm i @ybot1122/toby-ui
- Add toby-ui to tailwind.config.js:
module.exports = {
//...
content: [
// ...
"node_modules/@ybot1122/toby-ui/dist/**/*.js",
],
}Adding a new Component
- Create its directory under
src/components. - Add its implementation file, and storybook file into that directory. You can copy paste the files from HelloWorld as starter template.
- In
package.jsonadd the entry for it inexportsarray. - In
rollup.config.mjsadd the path as a file forinput. - In
src/index.tsput any type definitions you will use for the new component.
Publish and Release
- Make a PR and merge to bump the version in package.json
- In GitHub, create release.
npm loginnpm publish
0.0.20-alpha
10 months ago
0.0.21-alpha
9 months ago
0.0.19-alpha
10 months ago
0.0.18-alpha
10 months ago
0.0.15-alpha
10 months ago
0.0.17-alpha
10 months ago
0.0.16-alpha
10 months ago
0.0.14-alpha
10 months ago
0.0.13-alpha
10 months ago
0.0.10-alpha
10 months ago
0.0.11-alpha
10 months ago
0.0.9-alpha
10 months ago
0.0.5-alpha
10 months ago
0.0.12-alpha
10 months ago
0.0.10-alpha.2
10 months ago
0.0.10-alpha.1
10 months ago
0.0.6-alpha
10 months ago
0.0.7-alpha
10 months ago
0.0.8-alpha
10 months ago
0.0.4-alpha
11 months ago
0.0.3-alpha
12 months ago
0.0.2-alpha
12 months ago
0.0.1-alpha
12 months ago