options panel and custom checkbox

This commit is contained in:
SpikeHD
2022-05-10 00:13:31 -07:00
parent a6d5f3404c
commit 18a74590f9
10 changed files with 99 additions and 13 deletions

View File

@@ -1,4 +1,5 @@
import React from 'react'
import './Menu.css'
interface IProps {
children: React.ReactNode[] | React.ReactNode;
@@ -15,7 +16,9 @@ export default class Menu extends React.Component<IProps, never> {
return (
<div className={'Menu ' + this.props.className}>
<div className="MenuHeading">{this.props.heading}</div>
{this.props.children}
<div className='MenuInner'>
{this.props.children}
</div>
</div>
)
}