Skip to content

Commit fdab6df

Browse files
author
Adam Gleitman
committed
Consolidate macOS tags
1 parent b8d2bba commit fdab6df

File tree

2 files changed

+8
-6
lines changed

2 files changed

+8
-6
lines changed

Libraries/Components/TextInput/TextInput.d.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -331,31 +331,31 @@ export interface TextInputMacOSProps {
331331
/**
332332
* Fired when a supported element is pasted
333333
*/
334-
onPaste?: ((event: PasteEvent) => void) | undefined; // [macOS]
334+
onPaste?: ((event: PasteEvent) => void) | undefined;
335335

336336
/**
337337
* Callback that is called when the text input's autoCorrect setting changes.
338338
* This will be called with
339339
* `{ nativeEvent: { enabled } }`.
340340
* Does only work with 'multiline={true}'.
341341
*/
342-
onAutoCorrectChange?: ((e: SettingChangeEvent) => void) | undefined; // [macOS]
342+
onAutoCorrectChange?: ((e: SettingChangeEvent) => void) | undefined;
343343

344344
/**
345345
* Callback that is called when the text input's spellCheck setting changes.
346346
* This will be called with
347347
* `{ nativeEvent: { enabled } }`.
348348
* Does only work with 'multiline={true}'.
349349
*/
350-
onSpellCheckChange?: ((e: SettingChangeEvent) => void) | undefined; // [macOS]
350+
onSpellCheckChange?: ((e: SettingChangeEvent) => void) | undefined;
351351

352352
/**
353353
* Callback that is called when the text input's grammarCheck setting changes.
354354
* This will be called with
355355
* `{ nativeEvent: { enabled } }`.
356356
* Does only work with 'multiline={true}'.
357357
*/
358-
onGrammarCheckChange?: ((e: SettingChangeEvent) => void) | undefined; // [macOS]
358+
onGrammarCheckChange?: ((e: SettingChangeEvent) => void) | undefined;
359359

360360
/**
361361
* Enables Paste support for certain types of pasted types

Libraries/StyleSheet/PlatformColorValueTypesMacOS.d.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,15 @@
22
* @format
33
*/
44

5+
// [macOS]
6+
57
import {ColorValue, OpaqueColorValue} from './StyleSheet';
68

79
type DynamicColorMacOSTuple = {
810
light: ColorValue;
911
dark: ColorValue;
10-
highContrastLight?: ColorValue | undefined; // [macOS]
11-
highContrastDark?: ColorValue | undefined; // [macOS]
12+
highContrastLight?: ColorValue | undefined;
13+
highContrastDark?: ColorValue | undefined;
1214
};
1315

1416
export function DynamicColorMacOS(

0 commit comments

Comments
 (0)