bootstrap-icon-selector
v1.2.0
Published
A Simple Icon Picker using Bootstrap-icons to return bootstrap icon class like "bi bi-icon-name"
Downloads
74
Maintainers
Readme
Usage
import IconPicker from "bootstrap-icon-selector";
import { useState } from "react";
function App() {
const [icon, setIcon] = useState("");
return (
<div className="App">
<i className={icon}></i>
<IconPicker onChange={(val) => setIcon(val)} />
</div>
);
}
export default App;
Props
onChange function
buttonClass string