@caldwell619/mui-inline-suggest
v1.3.2
Published
Material UI TextField component that will suggest the rest of the input, like an IDE or terminal
Downloads
28
Readme
Material UI Inline Suggest Text Field
A tiny component to provide the auto complete / suggestions similar to a terminal.
Took a lot of inspiration from react-inline-suggest, That repo has been archived, and the last publish was 4 years ago.
Demo
https://christopher-caldwell.github.io/mui-inline-suggest
Install
yarn add @caldwell619/mui-inline-suggest
# or
npm install --save @caldwell619/mui-inline-suggest
Usage
import { InlineSuggest } from '@caldwell619/mui-inline-suggest'
const Component = () => (
<InlineSuggest
textFieldProps={{ label: 'Test!', variant: 'outlined' }}
suggestions={['hYEY!']}
/>
)
License
MIT © christopher-caldwell