@fluentliteui/details
v0.0.4
Published
install ``` yarn add @fluentliteui/details ```
Downloads
3
Readme
@fluentliteui/details
install
yarn add @fluentliteui/details
usage
import { Details } from "@fluentliteui/details";
import "@fluentliteui/details/dist/index.css";
function App() {
return <Details open={true} onToggle={({ target: { open } }: any) => {
console.log(open);
}} summaryStyle={{ borderBottom: "solid 1px #ccc" }} bodyStyle={{ background: "#adadad" }} extra={<div>^</div>} style={{ width: "300px" }} label={"hello"}><button>666</button></Details>
}