Skip to content

Commit 7867691

Browse files
Trish Saylorfacebook-github-bot
authored andcommitted
Create a reusable IG Switch component with UIDocs and snapshot test
Summary: Switch is a standard component and needs some extra styling of the colors to be used in IG, so I've created a reusable switch component for Instagram React Native and added server snapshot tests with UIDocs for it so it will appear in https://our.intern.facebook.com/intern/uidocs/?docset=rn_iig for more people to use. Reviewed By: lostatseajoshua Differential Revision: D9023261 fbshipit-source-id: dd460ca4506e2fc072ed03cca56b4a3c172123bd
1 parent 169d683 commit 7867691

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Libraries/Components/Switch/Switch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ const requireNativeComponent = require('requireNativeComponent');
2121
import type {ColorValue} from 'StyleSheetTypes';
2222
import type {ViewProps} from 'ViewPropTypes';
2323

24-
type Props = $ReadOnly<{|
24+
export type Props = $ReadOnly<{|
2525
...ViewProps,
2626
/**
2727
* The value of the switch. If true the switch will be turned on.

0 commit comments

Comments
 (0)