@eslam-elmeniawy/react-native-common-components
Version:
Common `ReactNative` components packed in library for usage in projects.
21 lines (19 loc) • 552 B
JavaScript
;
// External imports.
import * as React from 'react';
import { RadioButton as PaperRadioButton } from 'react-native-paper';
// Types imports.
import { jsx as _jsx } from "react/jsx-runtime";
/**
* Wrapper around react-native-paper RadioButton for testability.
* This can be mocked in tests while maintaining the same API.
*/
const RadioButtonAndroid = props => {
return /*#__PURE__*/_jsx(PaperRadioButton.Android, {
...props
});
};
export default {
Android: RadioButtonAndroid
};
//# sourceMappingURL=PaperRadioButton.js.map