import React from 'react'; import styled from 'styled-components'; import { IAnnotation } from '../../types/index'; const Box = styled.div` background: rgba(0, 0, 0, 0.2); position: absolute; `; const Container = styled.div` position: absolute; top: 0; left: 0; bottom: 0; right: 0; `; interface FancyRectangleProps { annotation: IAnnotation; className?: string; style?: object; } function FancyRectangle(props: FancyRectangleProps) { const { geometry } = props.annotation; if (!geometry) return null; return ( ); } export default FancyRectangle;