UNPKG

@equinor/eds-core-react

Version:

The React implementation of the Equinor Design System

26 lines (23 loc) 591 B
import { forwardRef } from 'react'; import styled, { css } from 'styled-components'; import { jsx } from 'react/jsx-runtime'; const StyledSideBarContent = styled.div.withConfig({ displayName: "SideBarContent__StyledSideBarContent", componentId: "sc-kq9ra8-0" })(() => { return css(["grid-area:content;"]); }); const SideBarContent = /*#__PURE__*/forwardRef(function SideBarContent({ children, ...rest }, ref) { const props = { ref, ...rest }; return /*#__PURE__*/jsx(StyledSideBarContent, { ...props, children: children }); }); export { SideBarContent };