Skip to content

Commit

Permalink
fix(vx-clip-path): make ClipPath children optional
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Williams committed Sep 17, 2019
1 parent b6db99e commit d3e47a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vx-clip-path/src/clip-paths/ClipPath.tsx
Expand Up @@ -4,7 +4,7 @@ export type ClipPathProps = {
/** Unique id for the clipPath. */
id: string;
/** clipPath children. */
children: React.ReactNode;
children?: React.ReactNode;
} & React.SVGProps<SVGClipPathElement>;

export default function ClipPath({ id, children, ...restProps }: ClipPathProps) {
Expand Down

0 comments on commit d3e47a9

Please sign in to comment.