forked from react-figma/react-figma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
jsx-interfaces.d.ts
31 lines (29 loc) · 1.18 KB
/
jsx-interfaces.d.ts
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
import { RectangleProps } from './src/components/rectangle/Rectangle';
import { FrameNodeProps } from './src/components/frame/Frame';
import { TextProps } from './src/components/text/Text';
import { GroupProps } from './src/components/group/Group';
import { EllipseProps } from './src/components/ellipse/Ellipse';
import { InstanceProps } from './src/components/component/Instance';
import { ComponentProps } from './src/components/component/Component';
import { StarProps } from './src/components/star/Star';
import { VectorProps } from './src/components/vector/Vector';
import { SliceProps } from './src/components/slice/Slice';
import {ComponentSetProps} from "./src/components/component/ComponentSet";
declare global {
namespace JSX {
interface IntrinsicElements {
page: any;
rectangle: RectangleProps;
frame: FrameNodeProps;
group: GroupProps;
text: TextProps;
component: ComponentProps;
ellipse: EllipseProps;
star: StarProps;
vector: VectorProps;
instance: InstanceProps;
slice: SliceProps;
componentset: ComponentSetProps
}
}
}