@newrelic/gatsby-theme-newrelic
Version:
[](https://opensource.newrelic.com/oss-category/#community-project)
26 lines (22 loc) • 474 B
JavaScript
import React from 'react';
import PropTypes from 'prop-types';
import { css } from '@emotion/react';
const Content = ({ className, children }) => {
return (
<article
data-swiftype-name="body"
data-swiftype-type="text"
className={className}
css={css`
grid-area: content;
`}
>
{children}
</article>
);
};
Content.propTypes = {
className: PropTypes.string,
children: PropTypes.node,
};
export default Content;