import dropdown react
//import DropDown
import { Dropdown } from 'react-bootstrap';
//inside of return
<div className="dropdown">
<Dropdown>
<Dropdown.Toggle
variant="secondary btn-sm"
id="dropdown-basic">
Language
</Dropdown.Toggle>
<Dropdown.Menu style={{backgroundColor:'#73a47'}}>
<Dropdown.Item href="#" >Arabic</Dropdown.Item>
<Dropdown.Item href="#">English</Dropdown.Item>
</Dropdown.Menu>
</Dropdown>
</div>
Also in JavaScript:
- form taglib in jsp
- on reload js
- javascript stringify line breaks
- how to limit characters in number input js
- js get query param
- core.js:12799 Can't bind to 'ngForIn' since it isn't a known property of 'ng-container'.
- javascript sort chars in string
- jquery fade out
- node js post multipart/form-data
- javascript remove last element from array
- vue specify build directory
- comment in vue js
- js array delete last
- timestamp to date javascript
- javascript throw new error
- jquery script url
- javascript how to set cursor for whole page
- aos initial configuration vue
- tailwind hover dont work
- javascript new date undefined
- promises and not callbacks
- scroll to specific div
- Expected an assignment or function call and instead saw an expression
- icon shwoing a box react native vector icons