Skip to content

Latest commit

 

History

History
29 lines (27 loc) · 449 Bytes

Card.md

File metadata and controls

29 lines (27 loc) · 449 Bytes

Usage

...
import { Card } from 'react-native-material-ui';
...
render() {
    <View>
      <Card>
        <Text>Hello world!</Text>
      </Card>
    </View>
}

API

const propTypes = {
    /**
    * Called when card is pressed
    */
    onPress: PropTypes.func,
    /**
    * You can override any style for this card
    */
    style: PropTypes.object,
};