@philipe1993/list-color 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +17 -0
- package/src/index.tsx +38 -0
package/package.json
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
{
|
2
|
+
"name": "@philipe1993/list-color",
|
3
|
+
"main": "src/index.js",
|
4
|
+
"types": "src/index.d.ts",
|
5
|
+
"version": "1.0.0",
|
6
|
+
"peerDependencies": {
|
7
|
+
"react": "^18.3.1",
|
8
|
+
"mobx": "^6.13.5",
|
9
|
+
"axios": "^1.7.7",
|
10
|
+
"antd": "^5.22.0",
|
11
|
+
"tailwindcss": "^3.4.12",
|
12
|
+
"mobx-react-lite": "^4.0.7"
|
13
|
+
},
|
14
|
+
"devDependencies": {
|
15
|
+
"typescript": "^5.6.2"
|
16
|
+
}
|
17
|
+
}
|
package/src/index.tsx
ADDED
@@ -0,0 +1,38 @@
|
|
1
|
+
import { observer } from 'mobx-react-lite';
|
2
|
+
import React from 'react';
|
3
|
+
|
4
|
+
interface DataType {
|
5
|
+
active: boolean;
|
6
|
+
hexColorCode: string;
|
7
|
+
shortName: string;
|
8
|
+
name: string;
|
9
|
+
uuid: string;
|
10
|
+
key: React.Key;
|
11
|
+
}
|
12
|
+
|
13
|
+
interface QueryParams {
|
14
|
+
size?: number;
|
15
|
+
page?: number;
|
16
|
+
sort?: string;
|
17
|
+
search?: string;
|
18
|
+
}
|
19
|
+
|
20
|
+
// BreadCrumb
|
21
|
+
const breadCrumb = [
|
22
|
+
{
|
23
|
+
title: <a href="/dashboard">Dashboard</a>,
|
24
|
+
},
|
25
|
+
{
|
26
|
+
title: <p>Listagem de Cores</p>,
|
27
|
+
},
|
28
|
+
]
|
29
|
+
|
30
|
+
const ListColor: React.FC = observer(() => {
|
31
|
+
return (
|
32
|
+
<>
|
33
|
+
<p>TESTE</p>
|
34
|
+
</>
|
35
|
+
);
|
36
|
+
});
|
37
|
+
|
38
|
+
export default ListColor;
|