// Copyright (c) Meta Platforms, Inc. and affiliates. 'use client'; import {useState} from 'react'; import {Selector, SelectorOption} from '@astryxdesign/core/Selector'; import {InputGroup} from '@astryxdesign/core/InputGroup'; import {Button} from '@astryxdesign/core/Button'; import {Stack} from '@astryxdesign/core/Layout'; import { LockClosedIcon as LockIcon, GlobeAltIcon as GlobeIcon, } from '@heroicons/react/24/outline'; import {useToast} from '@astryxdesign/core/Toast'; const VISIBILITY = [ { value: 'private', label: 'Private', icon: LockIcon, description: 'Only members can access this space and its content.', }, { value: 'public', label: 'Public', icon: GlobeIcon, description: 'Anyone at the company can find and join this space.', }, ]; export default function SelectorOptionDescriptions() { const showToast = useToast(); const [condensed, setCondensed] = useState('private'); const [full, setFull] = useState('private'); const [grouped, setGrouped] = useState('private'); return ( ( )} /> ( )} />