diff --git a/Libraries/Components/Switch/Switch.js b/Libraries/Components/Switch/Switch.js index 39ccd9a1d..c67adb866 100644 --- a/Libraries/Components/Switch/Switch.js +++ b/Libraries/Components/Switch/Switch.js @@ -21,7 +21,7 @@ const requireNativeComponent = require('requireNativeComponent'); import type {ColorValue} from 'StyleSheetTypes'; import type {ViewProps} from 'ViewPropTypes'; -type Props = $ReadOnly<{| +export type Props = $ReadOnly<{| ...ViewProps, /** * The value of the switch. If true the switch will be turned on.