import { StorybookLink, Tip } from "vibe-storybook-components"; import { Announcement, Check } from "../../Icon/Icons"; import SplitButtonMenu from "../SplitButtonMenu/SplitButtonMenu"; import { MenuItem } from "../../index"; import React from "react"; export const TipMenu = () => ( If the actions in the menu are not related to each other, consider using a{" "} Menu {" "} component. ); const DialogDefault = [ { icon: Check, text: "Hey" }, { icon: Announcement, text: "There" } ]; export const SplitButtonExampleDialog = ({ options = DialogDefault }) => { return (
{!options ? ( <>I would be anything you want to be ) : ( {options.map(option => ( ))} )}
); };