Merge branch 'main' into patching

This commit is contained in:
SpikeHD
2022-07-15 21:14:16 -07:00
25 changed files with 331 additions and 150 deletions

View File

@@ -3,7 +3,7 @@ import './BigButton.css'
interface IProps {
children: React.ReactNode;
onClick: () => any;
onClick: () => unknown;
id: string;
disabled?: boolean;
}
@@ -23,7 +23,7 @@ export default class BigButton extends React.Component<IProps, IState> {
this.handleClick = this.handleClick.bind(this)
}
static getDerivedStateFromProps(props: IProps, state: IState) {
static getDerivedStateFromProps(props: IProps, _state: IState) {
return {
disabled: props.disabled
}

View File

@@ -12,9 +12,7 @@ interface IProps {
id?: string;
clearable?: boolean;
customClearBehaviour?: () => void;
style?: {
[key: string]: any;
}
style?: React.CSSProperties;
}
interface IState {