export interface ListProps { toggleItem: (key:string)=>void setItems: (keys:Array)=>void items: Array countFormatter?:(count:number)=> string|number, selectedItems: Array docCount?: number // number of documents for this list disabled?: boolean mod?: string className?: string showCount?: boolean translate?: (string) => string multiselect?: boolean // if true, uses toggleItem, else uses setItems } export interface ItemProps { bemBlocks: { container: any, option: any } onClick: Function label: string count: number | string rawCount:number active?: boolean disabled?: boolean showCount: boolean style?: any listDocCount?: number // number of documents for this list itemKey?:string }