UNPKG

@iobroker/adapter-react-v5

Version:

React components to develop ioBroker interfaces with react.

20 lines 696 B
// please do not delete React, as without it other projects could not be compiled: ReferenceError: React is not defined import React from 'react'; import { Grid2 } from '@mui/material'; const styles = { root: { height: '100%', overflow: 'hidden', }, overflowAuto: { overflow: 'auto', }, }; export const TabContent = React.forwardRef(function TabContentComponent(props, ref) { return (React.createElement(Grid2, { sx: { ...styles.root, ...(props?.style || undefined), ...(props.overflow === 'auto' ? styles.overflowAuto : undefined), }, ref: ref }, props.children)); }); //# sourceMappingURL=TabContent.js.map