// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import {Center} from '@astryxdesign/core/Center'; import {Card} from '@astryxdesign/core/Card'; import {Stack} from '@astryxdesign/core/Layout'; import {Icon} from '@astryxdesign/core/Icon'; import {IconButton} from '@astryxdesign/core/IconButton'; import {useToast} from '@astryxdesign/core/Toast'; import { BoldIcon, ItalicIcon, UnderlineIcon, ListBulletIcon as ListIcon, LinkIcon, PhotoIcon as ImageIcon, } from '@heroicons/react/24/outline'; export default function CenterHorizontal() { const showToast = useToast(); return (
} variant="ghost" size="sm" onClick={() => showToast({body: 'Demo: the text would turn bold here'}) } /> } variant="ghost" size="sm" onClick={() => showToast({body: 'Demo: the text would turn italic here'}) } /> } variant="ghost" size="sm" onClick={() => showToast({body: 'Demo: the text would be underlined here'}) } /> } variant="ghost" size="sm" onClick={() => showToast({body: 'Demo: a list would start here'})} /> } variant="ghost" size="sm" onClick={() => showToast({body: 'Demo: a link would be added here'}) } /> } variant="ghost" size="sm" onClick={() => showToast({body: 'Demo: an image would be added here'}) } />
); }