🚧 More work on React components and mui-theme
This commit is contained in:
parent
9d54e25020
commit
859d15e910
13 changed files with 93 additions and 74 deletions
|
@ -94,7 +94,7 @@ const DraftSettings = props => {
|
|||
let children = null;
|
||||
if (open) children = groups[group].map(component => component);
|
||||
return (
|
||||
<React.Fragment>
|
||||
<React.Fragment key={group}>
|
||||
<li
|
||||
className={open ? "expanded" : "collapsed"}
|
||||
key={group + "-ghead"}
|
||||
|
@ -117,7 +117,7 @@ const DraftSettings = props => {
|
|||
};
|
||||
|
||||
DraftSettings.propTypes = {
|
||||
info: PropTypes.object.isRequired,
|
||||
config: PropTypes.object.isRequired,
|
||||
gist: PropTypes.object.isRequired
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue