import _ from 'lodash'; import { useState } from 'react'; interface Props { value: number; onChange(value: number): void; showAll?: boolean; } export function ItemsPerPageSelector({ value, onChange, showAll }: Props) { const [id] = useState(() => `${_.uniqueId()}-items-per-page`); return ( ); }