import React from "react"; import { action } from "@storybook/addon-actions"; import { Tree } from ".."; import notes from "../../README.md"; export default { title: "Components/Tree/Features", parameters: { notes }, }; export const BasicUsage = () => ( ); export const WithoutHover = () => ( ); export const KeyboardControl = () => ( <> ); export const InsideContainer = () => (
); export const DefaultOpen = () => ( ); export const OnSelect = () => { const onSelect = action("onSelect"); return ( ); }; export const OnUpdate = () => { const onUpdate = action("onUpdate"); return ( ); };