1.0.4 • Published 2 years ago

react-material-ui-searchbar v1.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

NPM Edit on Codesandbox

Installation

npm

npm i react-material-ui-searchbar --save

yarn

yarn add react-material-ui-searchbar

Usage

import React from 'react';
import SearchComponent from "react-material-ui-searchbar";

export default function App() {
  return (
    <div className="App">
      <SearchComponent />
    </div>
  );
}

Props

NameTypeDefaultDescription
placeholderstringSearchPlaceholder in search bar
onChangeHandle( value : string ) => voidReturns the text change in the search bar
initialValuestring""Initial Value in the search bar
svgFontSize'inherit' | 'medium' | 'large' | 'small''small'Search SVG icon font size
sxSxProps{}Sx Props for customizing Search Bar
inputLabelPropsInputFieldProps{}Sx Props for customizing Input Field

Built With

  • React - A JavaScript library for building user interfaces

License

MIT Licensed. Copyright (c) Vishal Ramanand Sharma 2022.

1.0.4

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago