upsetjs import React , { PropsWithChildren } from 'react' ; import { mergeColor } from './utils' ; const UpSetDot = React . memo ( function UpSetDot ( { cx , r , cy , name , className , style , fill , } ) { return ( < circle r = { r } cx = { cx } cy = { cy } className = { className } style = { mergeColor ( style , fill ) } > { name && < title > { name } < /title>} < /circle>); } ) ; export default UpSetDot ;