mirror of
https://github.com/zhigang1992/react-native-web.git
synced 2026-04-23 20:10:41 +08:00
Implements the CheckBox component and adds a web-only 'color' prop to allow the color of the checkbox to be customized.
24 lines
318 B
JavaScript
Executable File
24 lines
318 B
JavaScript
Executable File
/**
|
|
* @flow
|
|
*/
|
|
|
|
import { StyleSheet } from 'react-native';
|
|
|
|
const styles = StyleSheet.create({
|
|
row: {
|
|
flexDirection: 'row',
|
|
flexWrap: 'wrap'
|
|
},
|
|
marginRight: {
|
|
marginRight: 10
|
|
},
|
|
marginBottom: {
|
|
marginBottom: 10
|
|
},
|
|
alignCenter: {
|
|
alignItems: 'center'
|
|
}
|
|
});
|
|
|
|
export default styles;
|