-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c7030c7
commit 60cb43d
Showing
3 changed files
with
21 additions
and
33 deletions.
There are no files selected for viewing
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
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
18 changes: 8 additions & 10 deletions
18
...components/DataEntries/SingleEventRegistrationEntry/SingleEventRegistrationEntry.types.js
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 |
---|---|---|
@@ -1,26 +1,24 @@ | ||
// @flow | ||
export type StateProps = {| | ||
ready: boolean, | ||
export type Props = {| | ||
showAddRelationship: boolean, | ||
eventAccess: {| | ||
read: boolean, | ||
write: boolean, | ||
|}, | ||
|}; | ||
|
||
export type StateProps = {| | ||
ready: boolean, | ||
...Props, | ||
|} | ||
|
||
export type ContainerProps = {| | ||
id: string, | ||
selectedScopeId: string, | ||
|}; | ||
|
||
export type Props = {| | ||
...ContainerProps, | ||
...StateProps, | ||
export type DispatchProps = {| | ||
onCancel: () => void, | ||
|}; | ||
|
||
export type DispatchProps = {||}; | ||
|
||
export type MapDispatchToProps = () => {||}; | ||
|
||
export type MapStateToProps = (ReduxState, ContainerProps) => StateProps; | ||
|