|
1 | 1 | import { |
2 | | - Admin, Create, Datagrid, DatagridConfigurable, Edit, EditButton, List, HttpError, Resource, SimpleForm, |
3 | | - SelectColumnsButton, CreateButton, FilterButton, ExportButton, TopToolbar, |
4 | | - DeleteButton, SaveButton, Toolbar, |
5 | | - AppBar, InspectorButton, Layout, TitlePortal, |
6 | | - BulkDeleteButton, BulkExportButton, BulkUpdateButton, |
| 2 | + // App |
| 3 | + Admin, AppBar, InspectorButton, Layout, Resource, TitlePortal, |
| 4 | + // Create/Edit |
| 5 | + Create, DeleteButton, Edit, SaveButton, SimpleForm, Toolbar, |
| 6 | + // List |
| 7 | + Datagrid, DatagridConfigurable, EditButton, List, |
| 8 | + // List actions |
| 9 | + BulkDeleteButton, BulkExportButton, BulkUpdateButton, CreateButton, ExportButton, |
| 10 | + FilterButton, SelectColumnsButton, TopToolbar, |
| 11 | + // Show |
7 | 12 | SimpleShowLayout, Show, |
8 | | - AutocompleteInput, |
9 | | - BooleanField, BooleanInput, |
10 | | - DateField, DateInput, DateTimeInput, |
11 | | - NumberField, NumberInput, |
12 | | - ReferenceField, ReferenceInput as _ReferenceInput, |
13 | | - ReferenceManyField, |
14 | | - SelectInput, |
15 | | - TextField, TextInput, |
16 | | - WithRecord, |
17 | | - email, maxLength, maxValue, minLength, minValue, regex, required |
| 13 | + // Fields |
| 14 | + BooleanField, DateField, NumberField, ReferenceField, ReferenceManyField, TextField, |
| 15 | + // Inputs |
| 16 | + BooleanInput, DateInput, DateTimeInput, NumberInput, SelectInput, TextInput, |
| 17 | + ReferenceInput as _ReferenceInput, |
| 18 | + // Filters |
| 19 | + email, maxLength, maxValue, minLength, minValue, regex, required, |
| 20 | + // Misc |
| 21 | + AutocompleteInput, HttpError, WithRecord |
18 | 22 | } from "react-admin"; |
19 | 23 | import VisibilityOffIcon from "@mui/icons-material/VisibilityOff"; |
20 | 24 |
|
|
0 commit comments