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