Back

Version 169

7/3/2024
/** @jsxImportSource https://esm.sh/react **/
import React from "https://esm.sh/react";
import { hydrateRoot } from "https://esm.sh/react-dom/client";
import { renderToString } from "https://esm.sh/react-dom/server";

interface TypePair {
id: number;
type_pair: string;
types: string[];
rank: number;
tier: string;
timestamp: string;
timestamp_seconds: number;
}

interface ComboboxProps {
options: string[];
value: string;
onChange: (value: string) => void;
placeholder: string;
}

// Mock data (replace with your full dataset)
const typePairData: { type_pairs: TypePair[] } = {
"type_pairs": [
{
"id": 1,
"type_pair": "normal-ghost",
"types": ["ghost", "normal"],
"rank": 2,
"tier": "S",
"timestamp": "31:28",
"timestamp_seconds": 1888,
},
{
"id": 2,
bl3-pkmntypestiers.web.val.run
Updated: July 17, 2024