mirror of
https://github.com/spbleadersofdigtal/frontend.git
synced 2024-11-25 03:33:44 +03:00
фикс
This commit is contained in:
parent
d536dae350
commit
0f02274c54
|
@ -36,8 +36,6 @@ export const ChatFormMultiplePhoto: ReactFCC<ChatFormMultiplePhotoProps> = (prop
|
||||||
files[`file_${Object.keys(files).length + 1}`] = file;
|
files[`file_${Object.keys(files).length + 1}`] = file;
|
||||||
});
|
});
|
||||||
|
|
||||||
console.log(files);
|
|
||||||
|
|
||||||
onChange({ ...files })
|
onChange({ ...files })
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
|
@ -3,6 +3,7 @@ import {Image, Page, StyleSheet, Text, View} from '@react-pdf/renderer';
|
||||||
import {bgColor, pageFontStyles, primaryColor, titleStyles} from '../shared';
|
import {bgColor, pageFontStyles, primaryColor, titleStyles} from '../shared';
|
||||||
import {GetDeckResponse} from '../../../../api/deck/getDeck';
|
import {GetDeckResponse} from '../../../../api/deck/getDeck';
|
||||||
import {ExtractArray} from '../../../../utils/types';
|
import {ExtractArray} from '../../../../utils/types';
|
||||||
|
import {currencyFormatter} from '../../../../utils/fomat';
|
||||||
|
|
||||||
export interface Slide5Props {
|
export interface Slide5Props {
|
||||||
data: ExtractArray<GetDeckResponse['slides']>['data'];
|
data: ExtractArray<GetDeckResponse['slides']>['data'];
|
||||||
|
@ -52,6 +53,7 @@ export const Slide5: ReactFCC<Slide5Props> = (props) => {
|
||||||
<Text style={styles.title}>Рынок</Text>
|
<Text style={styles.title}>Рынок</Text>
|
||||||
<View style={styles.divider} />
|
<View style={styles.divider} />
|
||||||
<Text style={styles.text}>Целевая аудитория: {users}</Text>
|
<Text style={styles.text}>Целевая аудитория: {users}</Text>
|
||||||
|
<Text style={styles.text}>Объем рынка (TAM): {currencyFormatter.format(market_values.tam)}р.</Text>
|
||||||
<Image style={styles.image} src={marketChart} />
|
<Image style={styles.image} src={marketChart} />
|
||||||
</View>
|
</View>
|
||||||
</Page>
|
</Page>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user