Skip to content
This repository has been archived by the owner on Jan 3, 2021. It is now read-only.

Commit

Permalink
Merge pull request #17 from readthaiapp/master
Browse files Browse the repository at this point in the history
Add Typescript definitions
  • Loading branch information
MrToph authored Oct 3, 2018
2 parents e24eb56 + a414e09 commit 3bd8522
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
declare module "react-native-progress-circle" {
import * as React from "react";
import * as ReactNative from "react-native";

export interface PercentageCircleProps {
color?: string;
shadowColor?: string;
bgColor?: string;
radius: number;
borderWidth?: number;
percent: number;
children?: React.ReactNode;
containerStyle?: ReactNative.ViewStyle | Array<ReactNative.ViewStyle>;
outerCircleStyle?: ReactNative.ViewStyle | Array<ReactNative.ViewStyle>;
}

export default class PercentageCircle extends React.Component<
PercentageCircleProps,
any
> {
render(): JSX.Element;
}
}

0 comments on commit 3bd8522

Please sign in to comment.