@actinc/dls
Version:
Design Language System (DLS) for ACT & Encoura front-end projects.
23 lines • 735 B
JavaScript
/**
* Copyright (c) ACT, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
import { styled } from '@mui/material/styles';
import { ResponsiveContainer } from 'recharts';
export var StyledContainer = styled('div')(function (_a) {
var height = _a.height, maxHeight = _a.maxHeight, width = _a.width;
return ({
height: height,
maxHeight: maxHeight || 'none',
overflow: 'auto',
position: 'relative',
width: width,
});
});
export var StyledResponsiveContainer = styled(ResponsiveContainer)({
overflow: 'hidden',
position: 'absolute',
});
//# sourceMappingURL=styles.js.map