// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import {Toolbar} from '@astryxdesign/core/Toolbar'; import {Button} from '@astryxdesign/core/Button'; import {Icon} from '@astryxdesign/core/Icon'; import {Heading} from '@astryxdesign/core/Text'; import {Stack} from '@astryxdesign/core/Layout'; import {Card} from '@astryxdesign/core/Card'; import {FunnelIcon, PlusIcon as AddIcon} from '@heroicons/react/24/outline'; import {useToast} from '@astryxdesign/core/Toast'; const SIZES = [ {size: 'sm' as const, label: 'Small'}, {size: 'md' as const, label: 'Medium'}, {size: 'lg' as const, label: 'Large'}, ]; export default function ToolbarSizes() { const showToast = useToast(); return ( {SIZES.map(({size, label}) => ( {label}} endContent={ <>