Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
node_modules
.idea
.yarnrc
.npmrc
9 changes: 8 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// TypeScript Version: 2.2.2

import React, { Component } from 'react'
import { ImageURISource } from 'react-native'
import { ImageURISource, StyleProp } from 'react-native'

interface SvgUriProps {
/**
Expand Down Expand Up @@ -35,6 +35,11 @@ interface SvgUriProps {
*/
fill?: string

/**
* Stroke color for the svg object
*/
stroke?: string

/**
* Invoked when load completes successfully.
*/
Expand All @@ -44,6 +49,8 @@ interface SvgUriProps {
* Fill the entire svg element with same color
*/
fillAll?: boolean

style: StyleProp
}

export default class SvgUri extends Component<SvgUriProps, {}> { }
Loading