Skip to content

Instantly share code, notes, and snippets.

View sgoll's full-sized avatar

Sebastian Goll sgoll

View GitHub Profile
@sgoll
sgoll / index.d.ts
Last active March 2, 2018 00:20
Draft of TypeScript type definitions for `react-feather`
/// <reference types="react" />
import { ComponentType, SVGAttributes } from 'react';
interface Props extends SVGAttributes<SVGElement> {
color?: string;
size?: number;
}
type Icon = ComponentType<Props>;