import React from 'react'; import { Image, StyleProp, StyleSheet, View, ViewStyle } from 'react-native'; import type { Theme } from '../../types'; import { withTheme } from '../../core/theming'; type Props = { disabled?: boolean; style?: StyleProp; theme: Theme; }; /* const pixelSize = 1.5; const segmentSize = 3 * pixelSize; const CheckmarkIcon = ({ disabled = false, style = {}, theme, ...rest }: Props) => { const segmentOffsets = [2, 3, 4, 3, 2, 1, 0]; return ( {segmentOffsets.map((offset, i) => ( ))} ); }; const styles = StyleSheet.create({ wrapper: { position: 'relative', flexDirection: 'row', }, segment: { width: pixelSize, height: segmentSize, }, }); */ const CheckmarkIcon = ({ disabled = false, style = {}, theme, ...rest }: Props) => { return ( ); }; const styles = StyleSheet.create({ image: { width: 10, height: 11, }, }); export default withTheme(CheckmarkIcon);