-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #39652 from teneeto/feat/37706/implement-accountin…
…g-page Feat: implement accounting page
- Loading branch information
Showing
24 changed files
with
627 additions
and
44 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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
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
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
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,50 @@ | ||
import type {StyleProp, ViewStyle} from 'react-native'; | ||
import type {OnyxEntry} from 'react-native-onyx'; | ||
import type {PopoverMenuItem} from '@components/PopoverMenu'; | ||
import type {TranslationPaths} from '@src/languages/types'; | ||
import type {AnchorPosition} from '@src/styles'; | ||
import type {Modal} from '@src/types/onyx'; | ||
import type AnchorAlignment from '@src/types/utils/AnchorAlignment'; | ||
import type IconAsset from '@src/types/utils/IconAsset'; | ||
|
||
type ThreeDotsMenuOnyxProps = { | ||
/** Details about any modals being used */ | ||
modal: OnyxEntry<Modal>; | ||
}; | ||
|
||
type ThreeDotsMenuProps = ThreeDotsMenuOnyxProps & { | ||
/** Tooltip for the popup icon */ | ||
iconTooltip?: TranslationPaths; | ||
|
||
/** icon for the popup trigger */ | ||
icon?: IconAsset; | ||
|
||
/** Any additional styles to pass to the icon container. */ | ||
iconStyles?: StyleProp<ViewStyle>; | ||
|
||
/** The fill color to pass into the icon. */ | ||
iconFill?: string; | ||
|
||
/** Function to call on icon press */ | ||
onIconPress?: () => void; | ||
|
||
/** menuItems that'll show up on toggle of the popup menu */ | ||
menuItems: PopoverMenuItem[]; | ||
|
||
/** The anchor position of the menu */ | ||
anchorPosition: AnchorPosition; | ||
|
||
/** The anchor alignment of the menu */ | ||
anchorAlignment?: AnchorAlignment; | ||
|
||
/** Whether the popover menu should overlay the current view */ | ||
shouldOverlay?: boolean; | ||
|
||
/** Whether the menu is disabled */ | ||
disabled?: boolean; | ||
|
||
/** Should we announce the Modal visibility changes? */ | ||
shouldSetModalVisibility?: boolean; | ||
}; | ||
|
||
export default ThreeDotsMenuProps; |
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
Oops, something went wrong.