1.0.5 • Published 6 months ago
@types/delowar__react-circle-progressbar v1.0.5
Installation
npm install --save @types/delowar__react-circle-progressbar
Summary
This package contains type definitions for @delowar/react-circle-progressbar (https://github.com/delowardev/react-circle-progressbar).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/delowar__react-circle-progressbar.
index.d.ts
// Type definitions for @delowar/react-circle-progressbar 1.0
// Project: https://github.com/delowardev/react-circle-progressbar
// Definitions by: Seungbin Oh <https://github.com/sboh1214>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
import * as React from 'react';
declare const Progress: React.FunctionComponent<ProgressProps>;
export default Progress;
export interface ProgressProps {
children?: React.ReactNode;
size?: number;
borderWidth?: number | string;
borderBgWidth?: number | string;
fillColor?: string;
emptyColor?: string;
background?: string;
className?: string;
percent?: number;
linecap?: string;
isGradient?: boolean;
transition?: number;
gradient?: Gradient;
isShadow?: boolean;
shadow?: Shadow;
isBgShadow?: boolean;
bgShadow?: Shadow;
viewport?: boolean;
onViewport?: (element: React.ReactElement) => void | null;
}
export interface Gradient {
angle?: number;
startColor?: string;
stopColor?: string;
}
export interface Shadow {
inset?: boolean;
vertical?: number;
horizontal?: number;
blur?: number;
opacity?: number;
color?: string;
}
Additional Details
- Last updated: Thu, 09 Jun 2022 16:01:33 GMT
- Dependencies: @types/react
- Global values: none
Credits
These definitions were written by Seungbin Oh.