-
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.
[TS migration] Migrate 'MentionSuggestions.js' component to TypeScript
- Loading branch information
1 parent
2707647
commit 52ff093
Showing
3 changed files
with
61 additions
and
59 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import CONST from '@src/CONST'; | ||
|
||
type AvatarFunctionType = () => void; | ||
|
||
type AvatarType = { | ||
source: string | AvatarFunctionType; | ||
type: typeof CONST.ICON_TYPE_AVATAR | typeof CONST.ICON_TYPE_WORKSPACE; | ||
name: string; | ||
id: number | string; | ||
fallbackIcon: string | AvatarFunctionType; | ||
}; | ||
|
||
export default AvatarType; |
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