Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface NewsUIProps

notexported

Hierarchy

  • NewsSharedProps
    • NewsUIProps

Index

Properties

onBack?: MouseEventHandler<Element>
searchTerm?: string
body?: null | Body[][]
currentMatch?: null | string
currentMatchRef: Ref<HTMLDivElement>
darkMode?: boolean
matchIndex: number
matches: Body[]
newsQuery: QueryResult<NewsQuery, Exact<{ filter: ContentFilter }>>
onChangeSearch: ChangeHandler<string, SyntheticEvent<Element, Event>>
scrollContainerRef: Ref<HTMLDivElement>

Methods

  • nextMatch(): void
  • prevMatch(): void

Generated using TypeDoc