import React from "react"; import TransactionTableHeader from "./internal/TransactionListHeader"; import TransactionTableBody from "./internal/TransactionListBody"; import FormField from "component/formField"; class TransactionList extends React.PureComponent { constructor(props) { super(props); this.state = { filter: "unfiltered", }; } handleFilterChanged(event) { this.setState({ filter: event.target.value, }); } handleClaimNameClicked(uri) { this.props.navigate("/show", { uri }); } render() { const { emptyMessage, transactions } = this.props; const { filter } = this.state; if (!transactions || !transactions.length) { return (
{emptyMessage || __("No transactions to list.")}
); } return (
{__("Filter")} {" "}
); } } export default TransactionList;