I'm tyring to implement the UI Kitten modal into my app. I have the modal working just fine. The issue I am having in setting the stle, size and color of the modal.
<Modal
visible={visible}
backdropStyle={styles.backdrop}
style={styles.modalContainer}
ViewProps={styles.modalSize}>
<Card disabled={true} header={modalHeader} footer={modalFooter}>
{selectedType ? renderItemSelectedDetails() : ''}
</Card>
</Modal>
I am passing this CSS style to the modal ViewProps.
modalSize: {
width: '250px',
height: '200px',
backgroundColor: '#58B83E',
},
No matter what I pass in this CSS, its not affecting the style or size of the modal. What am I doing wrong?