Run prettier formatter

This commit is contained in:
Brian Bowman
2022-07-19 04:37:38 -05:00
parent e9df0f17db
commit eb9aa34323
67 changed files with 1157 additions and 1071 deletions

View File

@@ -5,7 +5,7 @@ import Help from '../../../resources/icons/help.svg'
import MiniDialog from '../MiniDialog'
interface IProps {
children?: React.ReactNode[] | React.ReactNode;
children?: React.ReactNode[] | React.ReactNode
contents?: string
id?: string
}
@@ -19,7 +19,7 @@ export default class HelpButton extends React.Component<IProps, IState> {
super(props)
this.state = {
opened: false
opened: false,
}
this.setOpen = this.setOpen.bind(this)
@@ -41,14 +41,15 @@ export default class HelpButton extends React.Component<IProps, IState> {
<img src={Help} />
</div>
<div className="HelpContents" style={{
display: this.state.opened ? 'block' : 'none'
}}>
<MiniDialog closeFn={this.setClosed}>
{this.props.contents || this.props.children}
</MiniDialog>
<div
className="HelpContents"
style={{
display: this.state.opened ? 'block' : 'none',
}}
>
<MiniDialog closeFn={this.setClosed}>{this.props.contents || this.props.children}</MiniDialog>
</div>
</div>
)
}
}
}