Add new property 'pagedItems'
Add property 'pagedItems' to type 'IReactAccordionState'
This commit is contained in:
parent
1fe2cd381b
commit
6f1c73f6f2
|
@ -2,8 +2,9 @@ import IAccordionListItem from '../models/IAccordionListItem';
|
||||||
|
|
||||||
export interface IReactAccordionState {
|
export interface IReactAccordionState {
|
||||||
status: string;
|
status: string;
|
||||||
|
pagedItems: IAccordionListItem[];
|
||||||
items: IAccordionListItem[];
|
items: IAccordionListItem[];
|
||||||
listItems: IAccordionListItem[];
|
listItems: IAccordionListItem[];
|
||||||
isLoading: boolean;
|
isLoading: boolean;
|
||||||
loaderMessage: string;
|
loaderMessage: string;
|
||||||
}
|
}
|
||||||
|
|
|
@ -26,6 +26,7 @@ export default class ReactAccordion extends React.Component<IReactAccordionProps
|
||||||
super(props);
|
super(props);
|
||||||
this.state = {
|
this.state = {
|
||||||
status: this.listNotConfigured(this.props) ? 'Please configure list in Web Part properties' : 'Ready',
|
status: this.listNotConfigured(this.props) ? 'Please configure list in Web Part properties' : 'Ready',
|
||||||
|
pagedItems: [],
|
||||||
items: [],
|
items: [],
|
||||||
listItems: [],
|
listItems: [],
|
||||||
isLoading: false,
|
isLoading: false,
|
||||||
|
|
Loading…
Reference in New Issue