16 lines
261 B
JavaScript
16 lines
261 B
JavaScript
|
import React from 'react';
|
||
|
import { Text } from 'react-native';
|
||
|
import PropTypes from 'prop-types';
|
||
|
|
||
|
const Plain = ({ value }) => (
|
||
|
<Text accessibilityLabel={value}>
|
||
|
{value}
|
||
|
</Text>
|
||
|
);
|
||
|
|
||
|
Plain.propTypes = {
|
||
|
value: PropTypes.string
|
||
|
};
|
||
|
|
||
|
export default Plain;
|