File tree Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Expand file tree Collapse file tree 2 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 1- # rescript-chakra
2-
3- > ReScript binding for React Chakra-UI.
1+ <p align =" center " >
2+ <img src =" ./rescript-chakra.png " />
3+ <br />
4+ <br />
5+ <a href =" #installation " >Installation</a > // <a href =" #example " >Example</a > // <a href =" #contribution " >Contribution</a > // <a href =" #acknowledgement " >Acknowledgement</a >
6+ </p >
47
58## ToC
69
@@ -81,11 +84,11 @@ open Chakra
8184@react .component
8285let make = () => <>
8386 // m={2} refers to the value of `theme.space[2]`
84- < Box m= {#two }> {" Tomato" - > React .string } < / Box>
87+ < Box m= {#2 }> {" Tomato" - > React .string } < / Box>
8588 // You can also use custom values
8689 < Box maxW= {#px (960 )} mx= #auto / >
8790 // sets margin `8px` on all viewports and `16px` from the first breakpoint and up
88- < Box m= {#array ([#two , #three ])} / >
91+ < Box m= {#array ([#2 , #3 ])} / >
8992< / >
9093```
9194
You can’t perform that action at this time.
0 commit comments