Skip to content

Commit 24d5329

Browse files
committed
improve
1 parent d57bff0 commit 24d5329

File tree

5 files changed

+1016
-43
lines changed

5 files changed

+1016
-43
lines changed

.env.example

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
CHROMATIC_PROJECT_TOKEN=

.npmignore

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
.gitignore
33
.prettierrc
44
node_modules/
5-
src/
5+
src/
6+
src/stories/

package.json

+3-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@
2020
"lint": "eslint .",
2121
"storybook": "start-storybook -p 6006",
2222
"build-storybook": "build-storybook",
23-
"tw:dev": "postcss src/stories/styles/tailwind.css -o src/stories/styles/index.css"
23+
"tw:dev": "postcss src/stories/styles/tailwind.css -o src/stories/styles/index.css",
24+
"chromatic": "npx chromatic"
2425
},
2526
"peerDependencies": {
2627
"react": "^17.0.1",
@@ -39,6 +40,7 @@
3940
"autoprefixer": "^10.3.1",
4041
"babel-eslint": "^10.1.0",
4142
"babel-loader": "^8.2.2",
43+
"chromatic": "^5.9.2",
4244
"css-loader": "^6.2.0",
4345
"eslint": "^7.17.0",
4446
"eslint-config-prettier": "^6.11.0",

src/stories/Selector.tsx

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { useRef } from "react"
21
import {
32
convertFormToURLParams,
43
DateInput,

0 commit comments

Comments
 (0)