UNPKG

babel-plugin-svg-react

Version:

Transpile SVG documents into React component modules with only Babel.

14 lines (10 loc) 249 B
export interface Props extends React.SVGProps<SVGSVGElement> { styles?: { [className: string]: string; }; } export interface SvgComponent { (props: Props): JSX.Element; } declare const Component: SvgComponent; export default Component;