1 | "use strict";
|
2 | Object.defineProperty(exports, "__esModule", { value: true });
|
3 | exports.AbsoluteFill = void 0;
|
4 | const jsx_runtime_1 = require("react/jsx-runtime");
|
5 | const react_1 = require("react");
|
6 | const AbsoluteFill = (props) => {
|
7 | const { style, ...other } = props;
|
8 | const actualStyle = (0, react_1.useMemo)(() => {
|
9 | return {
|
10 | position: 'absolute',
|
11 | top: 0,
|
12 | left: 0,
|
13 | right: 0,
|
14 | bottom: 0,
|
15 | width: '100%',
|
16 | height: '100%',
|
17 | display: 'flex',
|
18 | flexDirection: 'column',
|
19 | ...style,
|
20 | };
|
21 | }, [style]);
|
22 | return (0, jsx_runtime_1.jsx)("div", Object.assign({ style: actualStyle }, other), void 0);
|
23 | };
|
24 | exports.AbsoluteFill = AbsoluteFill;
|
25 |
|
\ | No newline at end of file |