mirror of
https://gitcode.com/GitHub_Trending/ji/jitsi-meet.git
synced 2025-12-30 03:12:29 +00:00
35 lines
723 B
TypeScript
35 lines
723 B
TypeScript
import React, { Component } from 'react';
|
|
|
|
import { Section } from '../../types';
|
|
|
|
import Text from './Text';
|
|
|
|
interface IProps {
|
|
|
|
/**
|
|
* A section containing the data to be rendered.
|
|
*/
|
|
section: Section;
|
|
}
|
|
|
|
/**
|
|
* Implements a React/Web {@link Component} that renders the section header of
|
|
* the list.
|
|
*
|
|
* @augments Component
|
|
*/
|
|
export default class NavigateSectionListSectionHeader extends Component<IProps> {
|
|
/**
|
|
* Renders the content of this component.
|
|
*
|
|
* @returns {ReactElement}
|
|
*/
|
|
override render() {
|
|
return (
|
|
<Text className = 'navigate-section-section-header'>
|
|
{ this.props.section.title }
|
|
</Text>
|
|
);
|
|
}
|
|
}
|