feat: Rebuilt member admin (#2139)

This commit is contained in:
Tom Moor
2021-05-19 21:36:10 -07:00
committed by GitHub
parent 833bd51f4c
commit b0196f0cf0
23 changed files with 770 additions and 291 deletions

View File

@ -8,6 +8,8 @@ import Flex from "components/Flex";
type Props = {|
header?: boolean,
height?: number,
minWidth?: number,
maxWidth?: number,
|};
class Mask extends React.Component<Props> {
@ -17,9 +19,9 @@ class Mask extends React.Component<Props> {
return false;
}
constructor() {
constructor(props: Props) {
super();
this.width = randomInteger(75, 100);
this.width = randomInteger(props.minWidth || 75, props.maxWidth || 100);
}
render() {