@types/react-native-svg-uri
TypeScript definitions for react-native-svg-uri
Last updated 8 years ago by types .
MIT · Repository · Original npm · Tarball · package.json
$ cnpm install @types/react-native-svg-uri 
SYNC missed versions from official npm registry.

Installation

npm install --save @types/react-native-svg-uri

Summary

This package contains type definitions for react-native-svg-uri (https://github.com/matiascba/react-native-svg-uri#readme).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/react-native-svg-uri.

index.d.ts

import * as React from "react";
import { ImageURISource } from "react-native";

export interface SvgUriProps {
    /**
     * The width of the rendered svg
     */
    width?: number | string | undefined;

    /**
     * The height of the rendered svg
     */
    height?: number | string | undefined;

    /**
     * Source path for the .svg file
     * Expects a require('path') to the file or object with uri.
     * e.g. source={require('my-path')}
     * e.g. source={{ur: 'my-path'}}
     */
    source?: ImageURISource | undefined;

    /**
     * Direct svg code to render. Similar to inline svg
     */
    svgXmlData?: string | undefined;

    /**
     * Fill color for the svg object
     */
    fill?: string | undefined;
}

export default class SvgUri extends React.Component<SvgUriProps> {}

Additional Details

Credits

These definitions were written by Kyle Roach.

Current Tags

  • 1.2.8                                ...           latest (2 years ago)
  • 1.2.1                                ...           ts2.3 (9 years ago)
  • 1.2.1                                ...           ts2.4 (9 years ago)
  • 1.2.1                                ...           ts2.5 (9 years ago)
  • 1.2.2                                ...           ts2.6 (8 years ago)
  • 1.2.2                                ...           ts2.7 (8 years ago)
  • 1.2.3                                ...           ts2.8 (8 years ago)
  • 1.2.3                                ...           ts2.9 (8 years ago)
  • 1.2.3                                ...           ts3.0 (8 years ago)
  • 1.2.3                                ...           ts3.1 (8 years ago)
  • 1.2.3                                ...           ts3.2 (8 years ago)
  • 1.2.3                                ...           ts3.3 (8 years ago)
  • 1.2.3                                ...           ts3.4 (8 years ago)
  • 1.2.3                                ...           ts3.5 (8 years ago)
  • 1.2.4                                ...           ts3.6 (5 years ago)
  • 1.2.4                                ...           ts3.7 (5 years ago)
  • 1.2.4                                ...           ts3.8 (5 years ago)
  • 1.2.4                                ...           ts3.9 (5 years ago)
  • 1.2.4                                ...           ts4.0 (5 years ago)
  • 1.2.4                                ...           ts4.1 (5 years ago)
  • 1.2.4                                ...           ts4.2 (5 years ago)
  • 1.2.4                                ...           ts4.3 (5 years ago)
  • 1.2.4                                ...           ts4.4 (5 years ago)
  • 1.2.7                                ...           ts4.5 (2 years ago)
  • 1.2.8                                ...           ts4.6 (2 years ago)
  • 1.2.8                                ...           ts4.7 (2 years ago)
  • 1.2.8                                ...           ts4.8 (2 years ago)
  • 1.2.8                                ...           ts4.9 (2 years ago)
  • 1.2.8                                ...           ts5.0 (2 years ago)
  • 1.2.8                                ...           ts5.1 (2 years ago)
  • 1.2.8                                ...           ts5.2 (2 years ago)
  • 1.2.8                                ...           ts5.3 (2 years ago)
  • 1.2.8                                ...           ts5.4 (2 years ago)
  • 1.2.8                                ...           ts5.5 (2 years ago)
  • 1.2.8                                ...           ts5.6 (2 years ago)
  • 1.2.8                                ...           ts5.7 (2 years ago)

9 Versions

  • 1.2.8                                ...           2 years ago
  • 1.2.7                                ...           2 years ago
  • 1.2.6                                ...           2 years ago
  • 1.2.5                                ...           3 years ago
  • 1.2.4                                ...           5 years ago
  • 1.2.3                                ...           8 years ago
  • 1.2.2                                ...           8 years ago
  • 1.2.1                                ...           9 years ago
  • 1.2.0                                ...           9 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (2)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org | Home |