UNPKG

@rtbjs/use-state

Version:

`@rtbjs/use-state` is a state management tool that can act as a local state and be easily turned into a global redux state. It is an innovative approach to state management that combines the advantages of both React's useState and Redux's state management

13 lines 650 B
import { __makeTemplateObject } from "tslib"; import { jsx as _jsx } from "react/jsx-runtime"; import { Outlet } from 'react-router-dom'; import { styled } from 'styled-components'; import { Layout as LayoutAntd } from 'antd'; var Content = LayoutAntd.Content; var Container = styled(Content)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n padding: 8px;\n background: white;\n"], ["\n padding: 8px;\n background: white;\n"]))); var Layout = function () { return (_jsx(LayoutAntd, { children: _jsx(Container, { children: _jsx(Outlet, {}) }) })); }; export { Layout }; var templateObject_1; //# sourceMappingURL=layout.js.map