-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor of ArrayElement and its context
- Loading branch information
1 parent
590eb8e
commit 06506cd
Showing
10 changed files
with
184 additions
and
203 deletions.
There are no files selected for viewing
9 changes: 0 additions & 9 deletions
9
packages/dnb-eufemia/src/extensions/forms/Iterate/AnimatedContainer/ElementBlockContext.ts
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
9 changes: 9 additions & 0 deletions
9
packages/dnb-eufemia/src/extensions/forms/Iterate/Array/ArrayItemAreaContext.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { createContext } from 'react' | ||
|
||
type ArrayItemAreaContext = { | ||
handleRemoveItem?: () => void | ||
} | ||
|
||
const ArrayItemAreaContext = createContext<ArrayItemAreaContext>(null) | ||
|
||
export default ArrayItemAreaContext |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
99 changes: 0 additions & 99 deletions
99
packages/dnb-eufemia/src/extensions/forms/Iterate/Array/__tests__/ArrayElement.test.tsx
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.