index.tsx562 B raw348 B gz4 input files total: 1.9 KB raw
// bench-strategy: variant-ladder-jsx-components
// Bamboo — button-variants-nested. Three modules, each exporting a JSX COMPONENT:
// Button, GhostButton extending it, GhostPrimaryButton extending that. The module
// API is the component, so every lane wraps — the page only renders the leaf.
// Paired with button-variants (same ladder as style values merged at one element).
// @ts-nocheck
import React from "react";
import { GhostPrimaryButton } from "./ghost-primary-button";

export default (i: number) => <GhostPrimaryButton>{i}</GhostPrimaryButton>;