Revize e9103a47
Přidáno uživatelem Václav Honzík před asi 2 roky(ů)
frontend/src/features/Reusables/ButtonOpenableDialog.tsx | ||
---|---|---|
12 | 12 |
maxWidth?: 'xs' | 'sm' | 'md' | 'lg' // the max width of the dialog |
13 | 13 |
} |
14 | 14 |
|
15 |
|
|
15 | 16 |
// Generic dialog that can be opened by a button and closed by clicking on the backdrop. |
16 | 17 |
const ButtonOpenableDialog: FunctionComponent<ButtonOpenableDialogProps> = ({ |
17 | 18 |
onOpenCallback, |
... | ... | |
52 | 53 |
{buttonText} |
53 | 54 |
</Button> |
54 | 55 |
<Dialog |
55 |
fullWidth={true}
|
|
56 |
fullWidth |
|
56 | 57 |
open={open} |
57 | 58 |
onClose={onClose} |
58 | 59 |
maxWidth={maxWidth} |
Také k dispozici: Unified diff
Persist navigation state
re #9630