@@ -12,7 +12,7 @@ Add the package with the package manager of choice to your project:
12
12
13
13
### TypeScript
14
14
```
15
- import { DSVImport, ColumnsType, TablePreview, TextareaInput } from 'react-dsv-import';
15
+ import { DSVImport, ColumnsType } from 'react-dsv-import';
16
16
17
17
type BasicType = { forename: string; surname: string; email: string };
18
18
@@ -23,14 +23,14 @@ const columns: ColumnsType<BasicType> = [
23
23
];
24
24
25
25
<DSVImport<BasicType> columns={columns}>
26
- <TextareaInput />
27
- <TablePreview />
26
+ <DSVImport. TextareaInput />
27
+ <DSVImport. TablePreview />
28
28
</DSVImport>
29
29
```
30
30
31
31
### JavaScript
32
32
```
33
- import { DSVImport, TablePreview, TextareaInput } from 'react-dsv-import';
33
+ import { DSVImport } from 'react-dsv-import';
34
34
35
35
const columns = [
36
36
{ key: 'forename', label: 'Forename' },
@@ -39,8 +39,8 @@ const columns = [
39
39
];
40
40
41
41
<DSVImport columns={columns}>
42
- <TextareaInput />
43
- <TablePreview />
42
+ <DSVImport. TextareaInput />
43
+ <DSVImport. TablePreview />
44
44
</DSVImport>
45
45
```
46
46
@@ -53,6 +53,7 @@ The most important features of this component are:
53
53
- ✅ Type definitions and type safety
54
54
- ✅ DSV format detection
55
55
- ✅ Fully compositable
56
+ - ❌ Automatic testing with >90% coverage
56
57
- ❌ Input validation
57
58
- ❌ [ Material UI] ( https://material-ui.com/ ) integration
58
59
- ❌ [ ant.design] ( https://ant.design/ ) integration
0 commit comments