Skip to content

Commit

Permalink
fix stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
dlcaldeira committed Nov 24, 2023
1 parent c2dbaa7 commit 94e7285
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
export interface EnumerationProps {
error?: string;
id: string;
items: string[];
loadMoreRows?: (params: { startIndex: number; stopIndex: number }) => Promise<void>;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The component is split into two parts, the _header_ and the _body_.
The header has a `title` and the 3 different actions:

1. Create: `onCreate` - optional parameter.
2. Edit: Triggers edit mode on the body part of the component, which allows for items to be selected. When items are selected, a "Remove" button which triggers the `onRemove` callback when clicked
2. Edit: Triggers edit mode on the body part of the component, which allows for items to be selected. When items are selected, a "Remove" button appears, which triggers the `onRemove` callback when clicked.
3. Import: `onImport` - optional parameter. If not passed, the action will not appear.

All actions (create, edit and remove) call the `onChange` callback.
Expand Down

0 comments on commit 94e7285

Please sign in to comment.