forked from DefinitelyTyped/DefinitelyTyped
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathreact-holder.d.ts
34 lines (27 loc) · 802 Bytes
/
react-holder.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
// Type definitions for react-holder 1.0.0
// Project: https://github.com/Moeriki/react-holder
// Definitions by: Isman Usoh <https://github.com/isman-usoh>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
///<reference path="../react/react.d.ts"/>
declare module "react-holder" {
import React = __React;
interface ReactHolderProp extends React.HTMLAttributes {
width: string | number;
height: string | number;
updateOnResize: boolean;
// config args
theme?: string;
random?: boolean;
bg?: string
fg?: string;
text?: string;
size?: number;
font?: string;
align?: string;
outline?: boolean;
lineWrap?: number;
}
class ReactHolder extends React.Component<ReactHolderProp, any> {
}
export default ReactHolder;
}