Add "become a sustainer" button and view to badge dialog
This commit is contained in:
parent
a466b939bc
commit
515943c46c
11 changed files with 197 additions and 32 deletions
|
@ -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'],
|
||||
]);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue