import { dataSizeStore , useAtom } from 'store' ; import styles from './pagination.module.css' ; const Pagination = ( ) => { const [ dataSize ] = useAtom ( dataSizeStore ) ; return ( < div className = { styles . container } > < span className = { styles . text } > { dataSize } item ( s ) total < /span> { } < /div>); } ; export default Pagination ;