We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38aedfe commit 6edd2c9Copy full SHA for 6edd2c9
src/index.tsx
@@ -1,2 +1,2 @@
1
export * from "./lib/shapes";
2
-export { default as shapes, shapeTypes } from "./shapes";
+export { default as shapes, shapeTypes, getRandomShape } from "./shapes";
src/lib/iconBase.tsx
@@ -7,9 +7,8 @@ import React, {
7
import NoiseMask from "./noiseMask";
8
9
// icon base props
10
-export interface ShapeProps
11
- extends RefAttributes<SVGSVGElement>,
12
- Partial<SVGProps<SVGSVGElement>> {
+type svgProps = RefAttributes<SVGSVGElement> & Partial<SVGProps<SVGSVGElement>>;
+export interface ShapeProps extends svgProps{
13
size?: number;
14
noise?: boolean;
15
}
0 commit comments