refactor(bg): cleanup

This commit is contained in:
moklick
2022-08-08 15:14:20 +02:00
parent 8dd88224c8
commit 293fa3637d

View File

@@ -1,5 +1,3 @@
import React from 'react';
type LinePatternProps = {
dimensions: [number, number];
lineWidth?: number;
@@ -27,6 +25,6 @@ type DotPatternProps = {
color: string;
};
export const DotPattern = ({ color, radius }: DotPatternProps) => {
export function DotPattern({ color, radius }: DotPatternProps) {
return <circle cx={radius} cy={radius} r={radius} fill={color} />;
};
}