File tree 2 files changed +12
-11
lines changed
2 files changed +12
-11
lines changed Original file line number Diff line number Diff line change
1
+ export default ( { children } : { children : React . ReactNode } ) => (
2
+ < div style = { { width : "100vw" , height : "100vh" } } > { children } </ div >
3
+ )
Original file line number Diff line number Diff line change @@ -2,15 +2,13 @@ import { SchematicViewer } from "lib/components/SchematicViewer"
2
2
import { renderToCircuitJson } from "lib/dev/render-to-circuit-json"
3
3
4
4
export default ( ) => (
5
- < div style = { { width : "100vw" , height : "90vh" } } >
6
- < SchematicViewer
7
- circuitJson = { renderToCircuitJson (
8
- < board width = "10mm" height = "10mm" >
9
- < resistor name = "R1" resistance = { 1000 } schX = { - 2 } />
10
- < capacitor name = "C1" capacitance = "1uF" schX = { 2 } />
11
- < trace from = ".R1 .pin2" to = ".C1 .pin1" />
12
- </ board > ,
13
- ) }
14
- />
15
- </ div >
5
+ < SchematicViewer
6
+ circuitJson = { renderToCircuitJson (
7
+ < board width = "10mm" height = "10mm" >
8
+ < resistor name = "R1" resistance = { 1000 } schX = { - 2 } />
9
+ < capacitor name = "C1" capacitance = "1uF" schX = { 2 } />
10
+ < trace from = ".R1 .pin2" to = ".C1 .pin1" />
11
+ </ board > ,
12
+ ) }
13
+ />
16
14
)
You can’t perform that action at this time.
0 commit comments