[ui][typeahead] revert export Props

pull/395/head
Jeff Sieu 3 years ago
parent a7934b335a
commit 809061df89

@ -1,9 +1,11 @@
import type { ComponentProps } from 'react';
import { useState } from 'react';
import { Typeahead } from '@tih/ui';
import type { Props as TypeaheadProps } from '@tih/ui/src/Typeahead/Typeahead';
import { trpc } from '~/utils/trpc';
type TypeaheadProps = ComponentProps<typeof Typeahead>;
type Props = Omit<
TypeaheadProps,
'noResultsMessage' | 'onQueryChange' | 'options' | 'query'

@ -22,7 +22,7 @@ type Attributes = Pick<
| 'required'
>;
export type Props = Readonly<{
type Props = Readonly<{
isLabelHidden?: boolean;
label: string;
noResultsMessage?: string;

Loading…
Cancel
Save