(props)
| 14 | } |
| 15 | |
| 16 | function CodePreview(props) { |
| 17 | return ( |
| 18 | <WidgetPreviewContainer> |
| 19 | <pre> |
| 20 | <code>{toValue(props.value, props.field)}</code> |
| 21 | </pre> |
| 22 | </WidgetPreviewContainer> |
| 23 | ); |
| 24 | } |
| 25 | |
| 26 | CodePreview.propTypes = { |
| 27 | value: PropTypes.node, |
nothing calls this directly
no outgoing calls
no test coverage detected