diff --git a/index.d.ts b/index.d.ts index 3981108e..75d8c2a2 100644 --- a/index.d.ts +++ b/index.d.ts @@ -37,7 +37,7 @@ export interface ClipProps { } export interface DefinitionProps { - name?: string, + id?: string, } export interface StrokeProps { @@ -192,10 +192,6 @@ export interface RectProps extends CommonPathProps { } export const Rect: React.ComponentClass; -export interface ShapeProps { -} -export const Shape: React.ComponentClass; - export interface StopProps { stopColor?: string, stopOpacity?: NumberProp, @@ -244,7 +240,7 @@ export const TextPath: React.ComponentClass; export interface UseProps extends CommonPathProps { href: string, - width?: string, - height?: string, + width: string, + height: string, } export const Use: React.ComponentClass;