@types/delowar__react-circle-progressbar
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

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

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;
    // eslint-disable-next-line @typescript-eslint/no-invalid-void-type
    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: Wed, 22 Nov 2023 00:24:48 GMT
  • Dependencies: @types/react

Credits

These definitions were written by Seungbin Oh.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/delowar__react-circle-progressbar

Weekly Downloads

4

Version

1.0.5

License

MIT

Unpacked Size

4.85 kB

Total Files

5

Last publish

Collaborators

  • types