import { useState } from "react"; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@godxjp/ui/data-display"; import { FormField, Select } from "@godxjp/ui/data-entry"; import { Flex, PageContainer } from "@godxjp/ui/layout"; const countries = [ { value: "jp", label: "日本", sublabel: "Japan" }, { value: "vn", label: "Việt Nam", sublabel: "Vietnam" }, ]; export default function Demo() { const [attempt, setAttempt] = useState(0); const [open, setOpen] = useState(false); const [search, setSearch] = useState(""); return ( Explicit retry action A rejected loader exposes a keyboard-focusable retry action. ({ options: [countries[(page - 1) % countries.length]], hasMore: page === 1, })} /> Controlled popup + search Parent state can synchronize deep links, dialogs, and external filter controls. ); }