// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import {useState} from 'react'; import { SegmentedControl, SegmentedControlItem, } from '@astryxdesign/core/SegmentedControl'; const GridIcon = () => ( ); const ListIcon = () => ( ); export default function SegmentedControlIconOnly() { const [value, setValue] = useState('grid'); return ( } /> } /> ); }