10 lines
176 B
JavaScript
10 lines
176 B
JavaScript
|
import React from 'react';
|
||
|
|
||
|
export default class StringPreview extends React.Component {
|
||
|
render() {
|
||
|
const { value } = this.props;
|
||
|
|
||
|
return <span>{value}</span>;
|
||
|
}
|
||
|
}
|