Skip to content

Commit

Permalink
fix random function imports and the type
Browse files Browse the repository at this point in the history
  • Loading branch information
0xgreenapple committed Apr 5, 2024
1 parent 38aedfe commit 6edd2c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export * from "./lib/shapes";
export { default as shapes, shapeTypes } from "./shapes";
export { default as shapes, shapeTypes, getRandomShape } from "./shapes";
5 changes: 2 additions & 3 deletions src/lib/iconBase.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@ import React, {
import NoiseMask from "./noiseMask";

// icon base props
export interface ShapeProps
extends RefAttributes<SVGSVGElement>,
Partial<SVGProps<SVGSVGElement>> {
type svgProps = RefAttributes<SVGSVGElement> & Partial<SVGProps<SVGSVGElement>>;
export interface ShapeProps extends svgProps{
size?: number;
noise?: boolean;
}
Expand Down

0 comments on commit 6edd2c9

Please sign in to comment.