File tree Expand file tree Collapse file tree 3 files changed +12
-7
lines changed
Expand file tree Collapse file tree 3 files changed +12
-7
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ import { PARAM_KEY } from "./constants";
1818
1919const preview : ProjectAnnotations < Renderer > = {
2020 parameters : {
21- [ PARAM_KEY . REPO ] : `https://github.com/stackblitz/docs ` ,
21+ [ PARAM_KEY . REPO ] : `https://github.com/stackblitz/storybook-addon-stackblitz ` ,
2222 }
2323} ;
2424
Original file line number Diff line number Diff line change @@ -19,16 +19,13 @@ const meta: Meta<typeof Button> = {
1919export default meta ;
2020type Story = StoryObj < typeof Button > ;
2121
22- // More on component templates: https://storybook.js.org/docs/react/writing-stories/introduction#using-args
2322export const Primary : Story = {
24- // More on args: https://storybook.js.org/docs/react/writing-stories/args
2523 args : {
2624 primary : true ,
27- label : "Button " ,
25+ label : "Get my free ticket! " ,
2826 } ,
2927 parameters : {
30- // repositoryUrl: `https://github.com/stackblitz/docs`
31- filePath : 'docs/links.ts'
28+ filePath : 'src/stories/Button.tsx'
3229 }
3330} ;
3431
Original file line number Diff line number Diff line change 99}
1010.storybook-button--primary {
1111 color : white;
12- background-color : # 1ea7fd ;
12+ padding : 1rem 6rem ;
13+ font-size : 90% !important ;
14+ line-height : 1.25rem ;
15+ height : 56px ;
16+ width : 200px ;
17+ border-radius : 30px ;
18+ background : linear-gradient (# d946ef, # a21caf );
19+ border : solid 1px # d359e6b3 ;
20+ box-shadow : 1px 1px 4px # 000a ;
1321}
1422.storybook-button--secondary {
1523 color : # 333 ;
You can’t perform that action at this time.
0 commit comments