mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-08-12 21:10:23 +00:00
@@ -0,0 +1,7 @@
|
||||
/// <reference path="react-spinkit.d.ts" />
|
||||
/// <reference path="../react/react.d.ts" />
|
||||
|
||||
import Spinner from 'react-spinkit';
|
||||
import * as React from 'react';
|
||||
|
||||
let spinner = <Spinner spinnerName='double-bounce' />;
|
||||
Vendored
+19
@@ -0,0 +1,19 @@
|
||||
// Type definitions for react-spinkit 1.1.4
|
||||
// Project: https://github.com/KyleAMathews/react-spinkit
|
||||
// Definitions by: Qubo <https://github.com/tkqubo>
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
/// <reference path="../react/react.d.ts" />
|
||||
|
||||
declare module "react-spinkit" {
|
||||
import { Component } from 'react';
|
||||
|
||||
interface Props {
|
||||
spinnerName?: string;
|
||||
}
|
||||
|
||||
class Spinner extends Component<Props, {}> { }
|
||||
|
||||
export default Spinner;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user