import { TodoListItem } from '../../mock';
import Store from '../../store';
import * as selectors from '../../store/selectors';
import {
IonPage,
IonHeader,
IonToolbar,
IonTitle,
IonContent,
IonItem,
IonLabel,
IonList,
} from '@ionic/react';
const ListEntry = ({ list }: {list: TodoListItem}) => (
{list.name}
);
const AllLists = () => {
const lists = Store.useState(selectors.selectLists);
return (
<>
{lists.map((list, i) => (
))}
>
);
};
const Lists = () => {
return (
Lists
Lists
);
};
export default Lists;