/**
 * Copyright (c) Microsoft Corporation. All rights reserved.
 * Licensed under the MIT License.
 */ import * as React from 'react' ; import './CustomEntity.css' ; interface EntityComponentProps { children ? : any ; } interface Props extends EntityComponentProps { name : string ; } export const PreBuiltEntity = ( props ) => { const { name } = props ; return ( < span className = "cl-entity-node cl-entity-node--prebuilt" > < div className = "cl-entity-node-indicator noselect" > < div className = "cl-entity-node-indicator__mincontent" > < div className = "cl-entity-node-indicator__name" > { name } < /div> < /div> < div className = "cl-entity-node-indicator__bracket" / > < /div> < span className = "cl-entity-node__text" > { props . children } < /span> < /span>); } ; export default PreBuiltEntity ;