@equinor/eds-core-react
Version:
The React implementation of the Equinor Design System
23 lines (19 loc) • 593 B
JavaScript
import { forwardRef } from 'react';
import styled from 'styled-components';
import { jsx } from 'react/jsx-runtime';
const StyledHeader = styled.div.withConfig({
displayName: "Header__StyledHeader",
componentId: "sc-1fpllve-0"
})(["grid-area:left;display:grid;grid-template-columns:auto auto;grid-gap:12px;align-items:center;"]);
const Header = /*#__PURE__*/forwardRef(function Header({
children,
...props
}, ref) {
return /*#__PURE__*/jsx(StyledHeader, {
ref: ref,
...props,
children: children
});
});
// Header.displayName = 'eds-topbar-header'
export { Header };