// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import {Button} from '@astryxdesign/core/Button'; import {Stack} from '@astryxdesign/core/Layout'; import {Text} from '@astryxdesign/core/Text'; 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 ButtonSizeVariants() { const showToast = useToast(); return ( Primary {SIZES.map(({size, label}) => (