Skip to content

Instantly share code, notes, and snippets.

@luandevpro
Created October 12, 2019 03:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save luandevpro/049b373ebed7f6d837b74b89d45e0073 to your computer and use it in GitHub Desktop.
Save luandevpro/049b373ebed7f6d837b74b89d45e0073 to your computer and use it in GitHub Desktop.
import React from 'react';
import PropTypes from 'prop-types';
export default function FormWizard({ children }) {
return <div>{children[0]}</div>;
}
FormWizard.propTypes = {
children: PropTypes.array, // eslint-disable-line
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment