@tscircuit/common 0.0.6 → 0.0.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +17 -10
- package/dist/index.js +7970 -283
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1,24 +1,31 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import { ChipProps } from '@tscircuit/props';
|
|
2
|
+
import { ChipProps, BoardProps } from '@tscircuit/props';
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
type ArduinoShieldProps = ChipProps & BoardProps & {
|
|
5
5
|
children?: any;
|
|
6
|
-
|
|
6
|
+
boardName?: string;
|
|
7
|
+
};
|
|
8
|
+
declare const ArduinoShield: ({ boardName, children, ...rest }: ArduinoShieldProps) => react_jsx_runtime.JSX.Element;
|
|
7
9
|
|
|
8
|
-
|
|
10
|
+
type MicroModBoardProps = ChipProps & BoardProps & {
|
|
9
11
|
children?: any;
|
|
10
12
|
variant?: "processor" | "function";
|
|
11
|
-
|
|
13
|
+
boardName?: string;
|
|
14
|
+
};
|
|
15
|
+
declare const MicroModBoard: ({ variant, boardName, children, ...rest }: MicroModBoardProps) => react_jsx_runtime.JSX.Element;
|
|
12
16
|
|
|
13
|
-
|
|
17
|
+
type RaspberryPiHatBoardProps = ChipProps & BoardProps & {
|
|
14
18
|
children?: any;
|
|
15
|
-
|
|
19
|
+
boardName?: string;
|
|
20
|
+
};
|
|
21
|
+
declare const RaspberryPiHatBoard: ({ boardName, children, ...rest }: RaspberryPiHatBoardProps) => react_jsx_runtime.JSX.Element;
|
|
16
22
|
|
|
17
|
-
|
|
23
|
+
type XiaoBoardProps = (ChipProps & BoardProps) & {
|
|
18
24
|
children?: any;
|
|
19
25
|
variant?: "RP2040" | "Receiver";
|
|
20
26
|
withPlatedHoles?: boolean;
|
|
21
|
-
|
|
22
|
-
|
|
27
|
+
boardName?: string;
|
|
28
|
+
};
|
|
29
|
+
declare const XiaoBoard: ({ variant, withPlatedHoles, boardName, children, ...rest }: XiaoBoardProps) => react_jsx_runtime.JSX.Element;
|
|
23
30
|
|
|
24
31
|
export { ArduinoShield, MicroModBoard, RaspberryPiHatBoard, XiaoBoard };
|