Skip to content

Commit

Permalink
Feat/#12 checkbox (#23)
Browse files Browse the repository at this point in the history
* feat: add in colour + checkbox story

* feat: add in checkbox styling

* feat: add in story with example

* feat: svg-to-ts working

* fix: styling indeterminate

* fix: typing of icons

* fix: remove colours

* fix: border colour

* fix: remove hashed out comment

* fix: able to interact with storybook
  • Loading branch information
Ademsk1 committed Oct 24, 2023
1 parent 88f08d6 commit 94f6203
Show file tree
Hide file tree
Showing 13 changed files with 791 additions and 52 deletions.
2 changes: 1 addition & 1 deletion .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const config: StorybookConfig = {
docs: {
autodocs: 'tag'
},
async viteFinal(config, options) {
async viteFinal(config) {
if (config && config.resolve) {
config.resolve.alias = {
...config.resolve.alias,
Expand Down
18 changes: 18 additions & 0 deletions .svg-to-tsrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"srcFiles": [
"./src/assets/svg-icons/*.svg"
],
"tsx": true,
"objectName": "Icons",
"outputDirectory": "./src/assets/",
"interfaceName": "Icons",
"typeName": "Icons",
"prefix": "",
"fileName": "index",
"svgoConfig": {
"plugins": [
"cleanupAttrs"
]
},
"compileSources": true
}
Loading

0 comments on commit 94f6203

Please sign in to comment.