Skip to content

Commit

Permalink
Changed the Textfield (MUI) to Input (Shadcn)
Browse files Browse the repository at this point in the history
  • Loading branch information
rolfheij-sil committed Sep 11, 2024
1 parent 82d0de6 commit a60fcf7
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/paratext-bible-word-list/src/word-list.web-view.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { useData } from '@papi/frontend/react';
import { WebViewProps } from '@papi/core';
import { ChangeEvent, useEffect, useMemo, useState } from 'react';
import { ComboBox, ScriptureReference, Switch, TextField } from 'platform-bible-react';
import { ComboBox, Input, ScriptureReference, Switch } from 'platform-bible-react';
import type { WordListEntry } from 'paratext-bible-word-list';
import WordContentViewer from './word-content-viewer.component';
import WordTable from './word-table.component';
Expand Down Expand Up @@ -123,12 +123,10 @@ globalThis.webViewComponent = function WordListWebView({
onChange={(value) => setScope(value)}
options={Object.values(Scope)}
/>
<TextField
label="Word filter"
<Input
placeholder="Word filter"
value={wordFilter}
onChange={(event) => onChangeWordFilter(event)}
isFullWidth
className="pr-text-foreground"
/>
<Switch
isChecked={showWordCloud}
Expand Down

0 comments on commit a60fcf7

Please sign in to comment.