mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
* [next-nprogress] new definitions * [next-nprogress] remove package.json * [next-nprogress] lint * fix(next-nprogress): move generic to returned function * tests(next-nprogress): add test for props infer
12 lines
300 B
TypeScript
12 lines
300 B
TypeScript
import { NProgressOptions } from 'nprogress';
|
|
import * as React from 'react';
|
|
|
|
export interface NProgressProps {
|
|
options?: Partial<NProgressOptions>;
|
|
color?: string;
|
|
spinner?: boolean;
|
|
showAfterMs?: number;
|
|
}
|
|
|
|
export default class NProgress extends React.Component<NProgressProps> {}
|