UNPKG

@newrelic/gatsby-theme-newrelic

Version:

[![Community Project header](https://github.com/newrelic/opensource-website/raw/master/src/images/categories/Community_Project.png)](https://opensource.newrelic.com/oss-category/#community-project)

31 lines (26 loc) 590 B
import React from 'react'; import PropTypes from 'prop-types'; import { css } from '@emotion/react'; import Section from './Section'; import Title from './Title'; const PageTools = ({ className, children }) => { return ( <aside data-swiftype-index={false} className={className} css={css` display: flex; flex-direction: column; `} > {children} </aside> ); }; PageTools.propTypes = { className: PropTypes.string, children: PropTypes.node, }; PageTools.Section = Section; PageTools.Title = Title; export default PageTools;