2.1.6 • Published 6 months ago
@types/react-svg-inline v2.1.6
Installation
npm install --save @types/react-svg-inline
Summary
This package contains type definitions for react-svg-inline (https://github.com/MoOx/react-svg-inline).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-svg-inline.
index.d.ts
// Type definitions for react-svg-inline 2.1
// Project: https://github.com/MoOx/react-svg-inline
// Definitions by: kiyopikko <https://github.com/kiyopikko>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 2.8
/// <reference types="react" />
declare namespace svgInline {
interface SVGInlineProps {
svg: string;
className?: string | undefined;
classSuffix?: string | undefined;
component?: React.ElementType | undefined;
fill?: string | undefined;
cleanup?: boolean | Array<"title" | "desc" | "comment" | "defs" | "width" | "height" | "fill" | "sketchMSShapeGroup" | "sketchMSPage" | "sketchMSLayerGroup"> | undefined;
cleanupExceptions?: Array<"title" | "desc" | "comment" | "defs" | "width" | "height" | "fill" | "sketchMSShapeGroup" | "sketchMSPage" | "sketchMSLayerGroup"> | undefined;
width?: string | undefined;
height?: string | undefined;
accessibilityLabel?: string | undefined;
accessibilityDesc?: string | undefined;
}
type SVGInline = React.ComponentClass<SVGInlineProps>;
}
declare const svgInline: svgInline.SVGInline;
export = svgInline;
Additional Details
- Last updated: Wed, 29 Sep 2021 16:31:20 GMT
- Dependencies: @types/react
- Global values: none
Credits
These definitions were written by kiyopikko.