import React, { forwardRef } from 'react'; import { Wrapper } from './styled'; type Props = { onMouseDown: () => void; onKeyDown: (e: React.KeyboardEvent) => void; children: React.ReactNode; }; type Ref = HTMLDivElement; const index = forwardRef(({ children, ...rest }: Props, ref) => ( {children} )); export default index;