import * as React from 'react'; import LineContent from './LineContent'; export interface Props { properties: Array; } export default class Properties extends React.PureComponent { public render() { const { properties } = this.props; return properties .sort((a, b) => (a.type || 0) - (b.type || 0)) .map((line, index) => (
)); } }