feat: add local navigation
This commit is contained in:
committed by
Mrugesh Mohapatra
parent
54db501138
commit
b9014e2ceb
@@ -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;
|
||||
|
Reference in New Issue
Block a user