import { API } from "../../types" ; import { State } from "./reducer" ; export type Data = { items : State ; show : number ; } ; export type Props = API < Data > ; export const defaultData = { items : [ ] , show : 3 , } ;