import * as React from 'react'; import Attribute from './Attribute'; import { Actions } from './types'; import { push } from './Util'; interface Props { actions: Actions; attributes: { [key: string]: string }; id: string[]; element: string; } export default class Attributes extends React.Component { public render(): React.ReactNode { const { actions, attributes, element, id } = this.props; return ( { Object.keys(attributes).map((name: string) => ( )) } ); } }