// 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 {Card} from '@astryxdesign/core/Card'; import {Section} from '@astryxdesign/core/Section'; import {ArrowLeftIcon} from '@heroicons/react/24/outline'; import {useToast} from '@astryxdesign/core/Toast'; import {rtlStyles} from '@astryxdesign/core/utils'; export default function ToolbarThreeSlot() { const showToast = useToast(); return ( } isIconOnly onClick={() => showToast({body: 'Demo: the previous page would open here'}) } /> } centerContent={Title} endContent={ <>