@equinor/eds-core-react
Version:
The React implementation of the Equinor Design System
24 lines (21 loc) • 595 B
JavaScript
import { forwardRef } from 'react';
import styled from 'styled-components';
import { jsx } from 'react/jsx-runtime';
const StyledCardHeaderTitle = styled.div.withConfig({
displayName: "CardHeaderTitle__StyledCardHeaderTitle",
componentId: "sc-11m80r3-0"
})(["display:grid;flex-grow:2;grid-auto-columns:auto;"]);
const CardHeaderTitle = /*#__PURE__*/forwardRef(function CardHeaderTitle({
children,
...rest
}, ref) {
const props = {
...rest,
ref
};
return /*#__PURE__*/jsx(StyledCardHeaderTitle, {
...props,
children: children
});
});
export { CardHeaderTitle };