1.0.1 • Published 5 years ago
suggesto-mui v1.0.1
suggesto-mui
Simple auto suggestion for REST API requests by using Material-UI components, React hooks and axios.
Getting Started
npm install --save suggesto-mui
Prerequisites
Material UI, React and axio are needed to use this pacakge.
Basic Usage
We assume that you have above three dependencies before using this package. After installation you can import this package into your react component Like this:-
import React from 'react';
import Suggesto from 'suggesto-mui';
function Home () {
return (
<div>
<Suggesto
placeholder="Countries"
name="countries"
url="https://samrandhawa4.github.io/suggesto-mui/countries"
/>
</div>
);
}
Built With
- React - React Hooks
- Material-UI - Material-UI
- Axios - Used to handle API calls
Author
- H S Randhawa(Summer)
License
This project is licensed under the MIT License
Acknowledgments
- Hat tip to anyone whose code was used
- Inspiration