Add "become a sustainer" button and view to badge dialog

This commit is contained in:
Evan Hahn 2021-11-16 10:45:16 -06:00 committed by GitHub
parent a466b939bc
commit 515943c46c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 197 additions and 32 deletions

View file

@ -8,6 +8,7 @@ import classNames from 'classnames';
import { assert } from '../util/assert';
export enum ButtonSize {
Large,
Medium,
Small,
}
@ -65,6 +66,7 @@ type PropsType = {
);
const SIZE_CLASS_NAMES = new Map<ButtonSize, string>([
[ButtonSize.Large, 'module-Button--large'],
[ButtonSize.Medium, 'module-Button--medium'],
[ButtonSize.Small, 'module-Button--small'],
]);