mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-12-13 09:11:19 -05:00
22 lines
556 B
React
22 lines
556 B
React
|
const PropTypes = require('prop-types');
|
||
|
const React = require('react');
|
||
|
const classNames = require('classnames');
|
||
|
|
||
|
const FlexRow = require('../../components/flex-row/flex-row.jsx');
|
||
|
|
||
|
require('./steps.scss');
|
||
|
|
||
|
const Steps = props => (
|
||
|
<FlexRow className={classNames('steps', props.className)}>
|
||
|
{/* TODO: Should this component do something with automatically numbering individual steps? */}
|
||
|
{props.children}
|
||
|
</FlexRow>
|
||
|
);
|
||
|
|
||
|
Steps.propTypes = {
|
||
|
children: PropTypes.node,
|
||
|
className: PropTypes.string
|
||
|
};
|
||
|
|
||
|
module.exports = Steps;
|