1
0
mirror of https://github.com/SomboChea/ui synced 2026-01-19 01:25:51 +07:00

fix: @typescript-eslint/no-explicit-any

This commit is contained in:
Griffithtp
2019-06-26 00:10:15 +01:00
parent 7cab3f289e
commit 6eec4f45d9
8 changed files with 17 additions and 15 deletions

View File

@@ -61,7 +61,7 @@ export interface Props {
size?: Breakpoint;
pointer?: boolean;
img?: boolean;
// modifiers?: null | undefined;
modifiers?: null | undefined;
}
const Icon: React.FC<Props> = ({ className, name, size = 'sm', img = false, pointer = false, ...props }) => {

View File

@@ -36,8 +36,8 @@ export const Svg = styled('svg')`
export const ImgWrapper: StyledOtherComponent<
{
size?: Breakpoint;
pointer: any;
modifiers?: any;
pointer: boolean;
modifiers?: null | undefined;
name?: string | unknown;
},
DetailedHTMLProps<HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>,