File tree Expand file tree Collapse file tree 1 file changed +13
-4
lines changed
site/src/components/Section Expand file tree Collapse file tree 1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change
1
+ import Button from "@material-ui/core/Button"
1
2
import TextField from "@material-ui/core/TextField"
2
3
import { Story } from "@storybook/react"
3
4
import React from "react"
@@ -20,9 +21,17 @@ Example.args = {
20
21
title : "User Settings" ,
21
22
description : "Add your personal info" ,
22
23
children : (
23
- < form style = { { display : "grid" , gridAutoFlow : "row" , gap : 12 } } >
24
- < TextField label = "Name" variant = "filled" fullWidth />
25
- < TextField label = "Email" variant = "filled" fullWidth />
26
- </ form >
24
+ < >
25
+ < form style = { { display : "grid" , gridAutoFlow : "row" , gap : 12 } } >
26
+ < TextField label = "Name" variant = "filled" fullWidth />
27
+ < TextField label = "Email" variant = "filled" fullWidth />
28
+ </ form >
29
+
30
+ < Section . Action >
31
+ < Button variant = "contained" color = "primary" >
32
+ Submit
33
+ </ Button >
34
+ </ Section . Action >
35
+ </ >
27
36
) ,
28
37
}
You can’t perform that action at this time.
0 commit comments