mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-16 02:57:24 +08:00
Change export style
Comply with comment
This commit is contained in:
14
react-spinkit/index.d.ts
vendored
14
react-spinkit/index.d.ts
vendored
@@ -6,16 +6,14 @@
|
||||
|
||||
/// <reference types="react" />
|
||||
|
||||
declare namespace ReactSpinkit {
|
||||
interface Props {
|
||||
declare namespace spinner {
|
||||
export interface SpinnerProps {
|
||||
spinnerName?: string;
|
||||
}
|
||||
|
||||
interface Spinner extends React.ComponentClass<Props> { }
|
||||
}
|
||||
declare module "react-spinkit" {
|
||||
var spinner: ReactSpinkit.Spinner;
|
||||
export = spinner;
|
||||
export interface Spinner extends React.ComponentClass<SpinnerProps> {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
declare const spinner: spinner.Spinner;
|
||||
export = spinner;
|
||||
|
||||
Reference in New Issue
Block a user