diff options
Diffstat (limited to 'src/marker.js')
-rw-r--r-- | src/marker.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/marker.js b/src/marker.js new file mode 100644 index 0000000..91a534f --- /dev/null +++ b/src/marker.js @@ -0,0 +1,7 @@ +import React from 'react'; + +export default class Marker extends React.PureComponent { + render() { + return this.props.children || null + } +}
\ No newline at end of file |