forked from facebook/react-native
-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add a couple of mac specific exports to the TS exports (#1825)
* Add a couple of mac specific exports to the TS exports * format * Add macos view/textinput/image props to TS exports * formatting * Update comments to use lowercase macOS, and add a couple more tags * lint fix
- Loading branch information
1 parent
538d6a0
commit 29d3981
Showing
7 changed files
with
197 additions
and
1 deletion.
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
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,28 @@ | ||
/** | ||
* @format | ||
*/ | ||
|
||
import {ColorValue, OpaqueColorValue} from './StyleSheet'; | ||
|
||
type DynamicColorMacOSTuple = { | ||
light: ColorValue; | ||
dark: ColorValue; | ||
highContrastLight?: ColorValue; | ||
highContrastDark?: ColorValue; | ||
}; | ||
|
||
export function DynamicColorMacOS( | ||
tuple: DynamicColorMacOSTuple, | ||
): OpaqueColorValue; | ||
|
||
type SystemEffectMacOS = | ||
| 'none' | ||
| 'pressed' | ||
| 'deepPressed' | ||
| 'disabled' | ||
| 'rollover'; | ||
|
||
export function ColorWithSystemEffectMacOS( | ||
color: ColorValue, | ||
effect: SystemEffectMacOS, | ||
): OpaqueColorValue; |
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