Lets users send stories to groups

This commit is contained in:
Josh Perez 2022-08-10 14:37:19 -04:00 committed by GitHub
parent d4b74db05c
commit ccc89545c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
21 changed files with 1177 additions and 400 deletions

View file

@ -35,6 +35,7 @@ import {
} from '../mediaEditor/util/getTextStyleAttributes';
export type PropsType = {
doneButtonLabel?: string;
i18n: LocalizerType;
imageSrc: string;
onClose: () => unknown;
@ -84,6 +85,7 @@ function isCmdOrCtrl(ev: KeyboardEvent): boolean {
}
export const MediaEditor = ({
doneButtonLabel,
i18n,
imageSrc,
onClose,
@ -1065,7 +1067,7 @@ export const MediaEditor = ({
theme={Theme.Dark}
variant={ButtonVariant.Primary}
>
{i18n('save')}
{doneButtonLabel || i18n('save')}
</Button>
</div>
</div>