ndla-ui
Version:
UI component library for NDLA.
21 lines (16 loc) • 426 B
JSX
/**
* Copyright (c) 2016-present, NDLA.
*
* This source code is licensed under the GPLv3 license found in the
* LICENSE file in the root directory of this source tree.
*
*/
import React from 'react';
import PropTypes from 'prop-types';
export const Content = ({ children }) => (
<div className="o-content">{children}</div>
);
Content.propTypes = {
children: PropTypes.node.isRequired,
};
export default Content;