Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface CompanySelectUIProps

notexported

Hierarchy

  • CompanySelectSharedProps
    • CompanySelectUIProps

Index

Properties

autoFocus?: boolean
className?: string
name?: string
onChange?: ChangeHandler<{ __typename?: "Company"; id: string; commonName: string; instruments: { __typename?: "Instrument"; id: string; isPrimary: boolean; quotes: { __typename?: "Quote"; id: string; isPrimary: boolean; localTicker: string; exchange: { __typename?: "Exchange"; id: string; shortName: string; country: { __typename?: "Country"; id: string; countryCode: string } } }[] }[] }, SyntheticEvent<Element, Event>>
onChangeSearchTerm: ChangeHandler<string, SyntheticEvent<Element, Event>>
companiesLoading?: boolean
companiesQuery: QueryResult<CompanyFilterQuery, Exact<{ searchTerm?: InputMaybe<string> }>>
scrollRef: Ref<HTMLDivElement>
searchTerm: string
selectedIndex: number
selectedOptionRef: Ref<HTMLDivElement>

Methods

  • onSelectCompany(event?: MouseEvent<Element, MouseEvent>): void
  • selectIndex(index: number): void

Generated using TypeDoc