Files
jitsi-meet/react/features/base/react/components/web/NavigateSectionListSectionHeader.js
2020-05-20 17:14:29 +02:00

37 lines
720 B
JavaScript

// @flow
import React, { Component } from 'react';
import type { Section } from '../../Types';
import Text from './Text';
type Props = {
/**
* A section containing the data to be rendered
*/
section: Section
}
/**
* Implements a React/Web {@link Component} that renders the section header of
* the list
*
* @extends Component
*/
export default class NavigateSectionListSectionHeader extends Component<Props> {
/**
* Renders the content of this component.
*
* @returns {ReactElement}
*/
render() {
return (
<Text className = 'navigate-section-section-header'>
{ this.props.section.title }
</Text>
);
}
}