Skip to content

Instantly share code, notes, and snippets.

@janjakubnanista
Last active June 6, 2020 11:35
Show Gist options
  • Save janjakubnanista/06ffceb0c289fa72b8f5ad6388a297a0 to your computer and use it in GitHub Desktop.
Save janjakubnanista/06ffceb0c289fa72b8f5ad6388a297a0 to your computer and use it in GitHub Desktop.
export interface SelectProps<T> {
// ... Previous props
idFromValue: (value: T) => string | number;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment