<AbsoluteFill>
A helper component - it is an absolutely positioned <div> with the following styles:
css
css
Adding a ref
You can add a React ref to an <AbsoluteFill> from version v3.2.13 on. If you use TypeScript, you need to type it with HTMLDivElement:
tsxMyComp = () => {constref =useRef <HTMLDivElement >(null);return <AbsoluteFill ref ={ref }>{content }</AbsoluteFill >;};
tsxMyComp = () => {constref =useRef <HTMLDivElement >(null);return <AbsoluteFill ref ={ref }>{content }</AbsoluteFill >;};