Skip to content
This repository was archived by the owner on Apr 3, 2023. It is now read-only.

Commit 7c4b0df

Browse files
author
Tom
authoredDec 19, 2018
Add typings
Add typescript typings for the main function.
1 parent 76d4c4a commit 7c4b0df

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed
 

‎index.d.ts

+27
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
export default function(
2+
text: string,
3+
shade: 50 | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900,
4+
): {
5+
backgroundColor: string;
6+
color: string;
7+
materialColorName:
8+
| "Red"
9+
| "Pink"
10+
| "Purple"
11+
| "Deep Purple"
12+
| "Indigo"
13+
| "Blue"
14+
| "Light Blue"
15+
| "Cyan"
16+
| "Teal"
17+
| "Green"
18+
| "Light Green"
19+
| "Lime"
20+
| "Yellow"
21+
| "Amber"
22+
| "Orange"
23+
| "Deep Orange"
24+
| "Brown"
25+
| "Grey"
26+
| "Blue Grey";
27+
};

0 commit comments

Comments
 (0)
This repository has been archived.