Skip to content

Commit

Permalink
feat: update selector inputs props
Browse files Browse the repository at this point in the history
  • Loading branch information
lukewalczak committed Jan 9, 2024
1 parent f0118ca commit fef19d7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/components/Checkbox/CheckboxAndroid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ const ANIMATION_DURATION = 100;
* Checkboxes allow the selection of multiple options from a set.
* This component follows platform guidelines for Android, but can be used
* on any platform.
*
* @extends TouchableRipple props https://callstack.github.io/react-native-paper/docs/components/TouchableRipple
*/
const CheckboxAndroid = ({
status,
Expand All @@ -59,6 +61,7 @@ const CheckboxAndroid = ({
testID,
...rest
}: Props) => {
console.log({ rest });
const theme = useInternalTheme(themeOverrides);
const { current: scaleAnim } = React.useRef<Animated.Value>(
new Animated.Value(1)
Expand Down
2 changes: 2 additions & 0 deletions src/components/Checkbox/CheckboxIOS.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ export type Props = $RemoveChildren<typeof TouchableRipple> & {
* Checkboxes allow the selection of multiple options from a set.
* This component follows platform guidelines for iOS, but can be used
* on any platform.
*
* @extends TouchableRipple props https://callstack.github.io/react-native-paper/docs/components/TouchableRipple
*/
const CheckboxIOS = ({
status,
Expand Down
2 changes: 2 additions & 0 deletions src/components/RadioButton/RadioButtonAndroid.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,8 @@ const BORDER_WIDTH = 2;
* Radio buttons allow the selection a single option from a set.
* This component follows platform guidelines for Android, but can be used
* on any platform.
*
* @extends TouchableRipple props https://callstack.github.io/react-native-paper/docs/components/TouchableRipple
*/
const RadioButtonAndroid = ({
disabled,
Expand Down
2 changes: 2 additions & 0 deletions src/components/RadioButton/RadioButtonIOS.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ export type Props = $RemoveChildren<typeof TouchableRipple> & {
* Radio buttons allow the selection a single option from a set.
* This component follows platform guidelines for iOS, but can be used
* on any platform.
*
* @extends TouchableRipple props https://callstack.github.io/react-native-paper/docs/components/TouchableRipple
*/
const RadioButtonIOS = ({
disabled,
Expand Down

0 comments on commit fef19d7

Please sign in to comment.