feat: add local navigation

This commit is contained in:
Ahmad Abdolsaheb
2019-10-22 18:30:17 +03:00
committed by Mrugesh Mohapatra
parent 54db501138
commit b9014e2ceb
7 changed files with 60 additions and 50 deletions

View File

@@ -2,9 +2,9 @@ import React from 'react';
import PropTypes from 'prop-types';
import { Row, Col } from '@freecodecamp/react-bootstrap';
function FullWidthRow({ children }) {
function FullWidthRow({ children, className }) {
return (
<Row>
<Row className={className}>
<Col sm={8} smOffset={2} xs={12}>
{children}
</Col>
@@ -14,7 +14,8 @@ function FullWidthRow({ children }) {
FullWidthRow.displayName = 'FullWidthRow';
FullWidthRow.propTypes = {
children: PropTypes.any
children: PropTypes.any,
className: PropTypes.string
};
export default FullWidthRow;