Skip to content
This repository was archived by the owner on Jan 31, 2023. It is now read-only.

Commit 2e18155

Browse files
committed
Adding Button component
1 parent f9af250 commit 2e18155

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+3470
-263
lines changed

.env

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
SKIP_PREFLIGHT_CHECK=true

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,5 @@
2121
npm-debug.log*
2222
yarn-debug.log*
2323
yarn-error.log*
24+
.merlin
25+
/lib

.merlin

Lines changed: 0 additions & 18 deletions
This file was deleted.

.storybook/main.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = {
2+
"stories": [
3+
"../src/**/*_Stories.js"
4+
],
5+
"addons": [
6+
"@storybook/addon-links",
7+
"@storybook/addon-essentials",
8+
"@storybook/preset-create-react-app"
9+
]
10+
}

.storybook/preview.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
2+
export const parameters = {
3+
actions: { argTypesRegex: "^on[A-Z].*" },
4+
controls: {
5+
matchers: {
6+
color: /(background|color)$/i,
7+
date: /Date$/,
8+
},
9+
},
10+
}

bsconfig.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,10 @@
1414
}
1515
],
1616
"suffix": ".bs.js",
17-
"bs-dependencies": ["@rescript/react", "bs-css-emotion", "bs-css"]
17+
"bs-dependencies": [
18+
"@rescript/react",
19+
"bs-css-emotion",
20+
"bs-css",
21+
"bs-storybook"
22+
]
1823
}

lib/bs/.bsbuild

-78 Bytes
Binary file not shown.

lib/bs/.bsdeps

Lines changed: 0 additions & 8 deletions
This file was deleted.

lib/bs/.compiler.log

Lines changed: 0 additions & 2 deletions
This file was deleted.

lib/bs/.ninja_log

Lines changed: 0 additions & 75 deletions
This file was deleted.

0 commit comments

Comments
 (0)