npm i react-input-with-popup
Props | Type | Desc |
---|---|---|
buttonLabel | string | Button Label |
disabled | boolean | Disabling or Enabling |
onChange | function | Input onChange function |
children | JSX Element | Each elements in InputWithPopup tag |
<InputWithPopup buttonLabel="button label" disabled={true} onChange={e=> {console.log(e)}}>
<div>Sample DIV!! </div>
<button>Sample Button </button>
</InputWithPopup>