refactor(bg): cleanup
This commit is contained in:
@@ -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} />;
|
||||||
};
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user