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
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'],
]);