* fix(ts): use strict mode strictNullChecks etc * chore: Use extended React.HTMLAttributes<> (#41) * refactor(code-format): add prettier closes #42 * feat(renderer): add snap to grid option closes #20 * chore(dependabot): use develop as target branch
11 lines
397 B
TypeScript
11 lines
397 B
TypeScript
import React, { HTMLAttributes } from 'react';
|
|
import { GridType } from '../../types';
|
|
interface GridProps extends HTMLAttributes<SVGElement> {
|
|
backgroundType?: GridType;
|
|
gap?: number;
|
|
color?: string;
|
|
size?: number;
|
|
}
|
|
declare const Grid: React.MemoExoticComponent<({ gap, color, size, style, className, backgroundType, }: GridProps) => JSX.Element>;
|
|
export default Grid;
|