mirror of
https://github.com/signalapp/Signal-Desktop.git
synced 2025-12-25 04:36:46 +00:00
ICU book workflow
This commit is contained in:
@@ -5,13 +5,10 @@ import React from 'react';
|
||||
|
||||
import { action } from '@storybook/addon-actions';
|
||||
import type { Meta } from '@storybook/react';
|
||||
import { setupI18n } from '../util/setupI18n';
|
||||
import enMessages from '../../_locales/en/messages.json';
|
||||
|
||||
import type { PropsType } from './AvatarUploadButton';
|
||||
import { AvatarUploadButton } from './AvatarUploadButton';
|
||||
|
||||
const i18n = setupI18n('en', enMessages);
|
||||
const { i18n } = window.SignalContext;
|
||||
|
||||
const createProps = (overrideProps: Partial<PropsType> = {}): PropsType => ({
|
||||
className: overrideProps.className || '',
|
||||
|
||||
Reference in New Issue
Block a user