"examples/quick_start/gemini_example_multimodal_chat.py" did not exist on "c4707f1bb52c1743d1f438940d388ae0da36c92b"
Title.tsx 523 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
import React from 'react';
import { Stack, Icon, initializeIcons } from '@fluentui/react';
import { TitleContext } from './TitleContext';
import '../../static/style/overview/overviewTitle.scss';
initializeIcons();

export const Title = (): any => (
    <TitleContext.Consumer>
        {(value): React.ReactNode => (
            <Stack horizontal className='panelTitle'>
                <Icon iconName={value.icon} />
                <span>{value.text}</span>
            </Stack>
        )}
    </TitleContext.Consumer>
);