mirror of
https://github.com/Equicord/Equicord.git
synced 2025-06-18 10:57:04 -04:00
Merge remote-tracking branch 'upstream/dev'
This commit is contained in:
commit
cd96099b3d
31 changed files with 347 additions and 202 deletions
|
@ -120,7 +120,7 @@ export function openImageModal(url: string, props?: Partial<React.ComponentProps
|
|||
placeholder={url}
|
||||
src={url}
|
||||
renderLinkComponent={props => <MaskedLink {...props} />}
|
||||
// FIXME: wtf is this? do we need to pass some proper component??
|
||||
// Don't render forward message button
|
||||
renderForwardComponent={() => null}
|
||||
shouldHideMediaOptions={false}
|
||||
shouldAnimate
|
||||
|
|
|
@ -38,7 +38,7 @@ const enum ModalTransitionState {
|
|||
|
||||
export interface ModalProps {
|
||||
transitionState: ModalTransitionState;
|
||||
onClose(): Promise<void>;
|
||||
onClose(): void;
|
||||
}
|
||||
|
||||
export interface ModalOptions {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue