refactor(bg): cleanup

This commit is contained in:
moklick
2022-08-08 15:14:20 +02:00
parent 8dd88224c8
commit 293fa3637d
+2 -4
View File
@@ -1,5 +1,3 @@
import React from 'react';
type LinePatternProps = { type LinePatternProps = {
dimensions: [number, number]; dimensions: [number, number];
lineWidth?: number; lineWidth?: number;
@@ -27,6 +25,6 @@ type DotPatternProps = {
color: string; color: string;
}; };
export const DotPattern = ({ color, radius }: DotPatternProps) => { export function DotPattern({ color, radius }: DotPatternProps) {
return <circle cx={radius} cy={radius} r={radius} fill={color} />; return <circle cx={radius} cy={radius} r={radius} fill={color} />;
}; }