added new Accounts view to ViewHelper
This commit is contained in:
parent
d55a2f450e
commit
bf0e8c6629
@ -1,9 +1,10 @@
|
||||
import React from "react";
|
||||
|
||||
import Members from "../views/Members";
|
||||
import History from "../views/History";
|
||||
import Details from "../views/Details";
|
||||
import Gallery from "../views/Gallery";
|
||||
import History from "../views/History";
|
||||
import Members from "../views/Members";
|
||||
import Accounts from "../views/Accounts";
|
||||
import NoItem from "../views/NoItem";
|
||||
import SeveralItems from "../views/SeveralItems";
|
||||
|
||||
@ -13,6 +14,7 @@ class ViewHelper {
|
||||
this.membersProps = props.membersProps;
|
||||
this.historyProps = props.historyProps;
|
||||
this.detailsProps = props.detailsProps;
|
||||
this.accountsProps = props.accountsProps;
|
||||
this.galleryProps = props.galleryProps;
|
||||
}
|
||||
|
||||
@ -28,6 +30,10 @@ class ViewHelper {
|
||||
return <Details {...this.defaultProps} {...this.detailsProps} />;
|
||||
};
|
||||
|
||||
AccountsView = () => {
|
||||
return <Accounts {...this.defaultProps} {...this.accountsProps} />;
|
||||
};
|
||||
|
||||
GalleryView = () => {
|
||||
return <Gallery {...this.defaultProps} {...this.galleryProps} />;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user