@equinor/eds-core-react
Version:
The React implementation of the Equinor Design System
26 lines (23 loc) • 625 B
JavaScript
import { forwardRef } from 'react';
import styled from 'styled-components';
import { jsx } from 'react/jsx-runtime';
import { Typography } from '../Typography/Typography.js';
const StyledBannerMessage = styled(Typography).withConfig({
displayName: "BannerMessage__StyledBannerMessage",
componentId: "sc-1lfqos1-0"
})([""]);
const BannerMessage = /*#__PURE__*/forwardRef(function BannerMessage({
children,
...rest
}, ref) {
const props = {
ref,
...rest
};
return /*#__PURE__*/jsx(StyledBannerMessage, {
variant: "body_long",
...props,
children: children
});
});
export { BannerMessage };