Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions CornerLabel.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@
*/

import React, {
PropTypes,
Component,
} from 'react'
import {
StyleSheet,
View,
Text,
ViewPropTypes,
} from 'react-native'

import PropTypes from 'prop-types';

const styles = StyleSheet.create({
container: {
position: 'absolute',
Expand All @@ -39,7 +41,7 @@ export default class CornerLabel extends Component {
}

static propTypes = {
style: View.propTypes.style,
style: ViewPropTypes.style,
textStyle: Text.propTypes.style,
cornerRadius: PropTypes.number.isRequired,
alignment: PropTypes.oneOf([
Expand Down