Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
return React.cloneElement(listItemElement, {
key: index,
style: [styles.item, borderStyle, listItemElement.props.style],
});
};
return (
{showcase.sections.map(renderSectionItem)}
);
};
const StyleSheet = useStyleSheet({
container: {
flex: 1,
backgroundColor: 'background-basic-color-1',
},
item: {
paddingHorizontal: 24,
paddingVertical: 16,
},
itemBorder: {
borderBottomWidth: 1,
borderBottomColor: 'border-basic-color-3',
},
});
status='danger'
icon={TrashIcon}
disabled={!props.settings}
onPress={onResetButtonPress}>
RESET
);
};
const StyleSheet = useStyleSheet({
container: {
flexDirection: 'row',
justifyContent: 'space-evenly',
paddingVertical: 16,
backgroundColor: 'background-basic-color-2',
},
});