rn-single-multi-deletable-select
Version:
A react native reusable component with 3 options: single select, multi select and deletable items with option to show image and text or just text.
16 lines (14 loc) • 363 B
text/typescript
import {StyleSheet} from "react-native";
const createStyle = ({height}: {height: number}) =>
StyleSheet.create({
cointainer: {
width: "100%",
flexGrow: 0,
minHeight: height ? height + 20 : 100,
},
contentCointainer: {
alignItems: "center",
paddingHorizontal: 6,
},
});
export default createStyle;