-
Notifications
You must be signed in to change notification settings - Fork 118
Expand file tree
/
Copy pathintrinsic-jsx.ts
More file actions
109 lines (106 loc) · 3.63 KB
/
intrinsic-jsx.ts
File metadata and controls
109 lines (106 loc) · 3.63 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
import type * as Props from "@tscircuit/props"
import type { DetailedHTMLProps, SVGProps } from "react"
export interface TscircuitElements {
resistor: Props.ResistorProps
capacitor: Props.CapacitorProps
inductor: Props.InductorProps
pushbutton: Props.PushButtonProps
diode: Props.DiodeProps
fuse: Props.FuseProps
led: Props.LedProps
board: Props.BoardProps
mountedboard: Props.MountedBoardProps
panel: Props.PanelProps
subpanel: Props.SubpanelProps
jumper: Props.JumperProps
interconnect: Props.InterconnectProps
solderjumper: Props.SolderJumperProps
bug: Props.ChipProps
potentiometer: Props.PotentiometerProps
// TODO use ChipProps once it gets merged in @tscircuit/props
chip: Props.ChipProps
pinout: Props.PinoutProps
powersource: Props.PowerSourceProps
via: Props.ViaProps
schematicbox: Props.SchematicBoxProps
schematicline: Props.SchematicLineProps
schematicrect: Props.SchematicRectProps
schematicarc: Props.SchematicArcProps
schematiccircle: Props.SchematicCircleProps
schematicpath: Props.SchematicPathProps
schematictext: Props.SchematicTextProps
schematictable: Props.SchematicTableProps
schematicrow: Props.SchematicRowProps
schematiccell: Props.SchematicCellProps
smtpad: Props.SmtPadProps
platedhole: Props.PlatedHoleProps
keepout: Props.PcbKeepoutProps
hole: Props.HoleProps
port: Props.PortProps
group: Props.GroupProps
netlabel: Props.NetLabelProps
opamp: Props.OpAmpProps
cadmodel: Props.CadModelProps
cadassembly: Props.CadAssemblyProps
net: Props.NetProps
trace: Props.TraceProps
breakout: Props.BreakoutProps
breakoutpoint: Props.BreakoutPointProps
custom: any
component: Props.ComponentProps
crystal: Props.CrystalProps
footprint: Props.FootprintProps & { name?: string }
silkscreentext: Props.SilkscreenTextProps
coppertext: Props.CopperTextProps
cutout: Props.CutoutProps
silkscreenpath: Props.SilkscreenPathProps
silkscreenline: Props.SilkscreenLineProps
silkscreenrect: Props.SilkscreenRectProps
silkscreencircle: Props.SilkscreenCircleProps
tracehint: Props.TraceHintProps
courtyardcircle: Props.CourtyardCircleProps
courtyardoutline: Props.CourtyardOutlineProps
courtyardrect: Props.CourtyardRectProps
pcbtrace: Props.PcbTraceProps
fabricationnoterect: Props.FabricationNoteRectProps
pcbnoteline: Props.PcbNoteLineProps
pcbnoterect: Props.PcbNoteRectProps
pcbnotetext: Props.PcbNoteTextProps
pcbnotepath: Props.PcbNotePathProps
pcbnotedimension: Props.PcbNoteDimensionProps
fabricationnotetext: Props.FabricationNoteTextProps
fabricationnotepath: Props.FabricationNotePathProps
fabricationnotedimension: Props.FabricationNoteDimensionProps
constraint: Props.ConstraintProps
constrainedlayout: Props.ConstrainedLayoutProps
battery: Props.BatteryProps
connector: Props.ConnectorProps
pinheader: Props.PinHeaderProps
resonator: Props.ResonatorProps
subcircuit: Props.SubcircuitGroupProps
transistor: Props.TransistorProps
switch: Props.SwitchProps
mosfet: Props.MosfetProps
testpoint: Props.TestpointProps
voltagesource: Props.VoltageSourceProps
currentsource: Props.CurrentSourceProps
voltageprobe: Props.VoltageProbeProps
copperpour: Props.CopperPourProps
analogsimulation: Props.AnalogSimulationProps
fiducial: Props.FiducialProps
jscad: any
}
declare module "react" {
namespace JSX {
interface IntrinsicElements extends TscircuitElements {}
}
}
declare module "react/jsx-runtime" {
namespace JSX {
interface IntrinsicElements extends TscircuitElements {
switch:
| DetailedHTMLProps<SVGProps<SVGSwitchElement>, SVGSwitchElement>
| TscircuitElements["switch"]
}
}
}