mirror of
https://github.com/HSLdevcom/digitransit-ui
synced 2025-11-29 17:03:33 +01:00
8 lines
252 B
JavaScript
8 lines
252 B
JavaScript
import React from 'react';
|
|
import { configShape } from '../util/shapes';
|
|
|
|
const TitleComponent = (props, { config: { title } }) => <span>{title}</span>;
|
|
|
|
TitleComponent.contextTypes = { config: configShape.isRequired };
|
|
|
|
export default TitleComponent;
|