Card

props.children
Will show up the item that wrap in the tag, e.g.

Last updated
Was this helpful?

props.children
Will show up the item that wrap in the tag, e.g.

Last updated
Was this helpful?
Was this helpful?
const AlarmDetail = (props) => {
return (
<Card>
<Text>{"Danny is handsome"}</Text>
</Card>
);
};
const Card = (props) => {
return (
<View style={styles.containerStyle}>{props.children}</View>
);
};