"use client"; /* * Documentation: * Button — https://app.subframe.com/f023064a5ca0/library?component=Button_3b777358-b86b-40af-9327-891efc6826fe */ import React from "react"; import * as SubframeCore from "@subframe/core"; import * as SubframeUtils from "../../utils"; export interface ButtonRootProps extends React.ButtonHTMLAttributes { disabled?: boolean; loading?: boolean; variant?: | "primary" | "secondary" | "tertiary" | "ghost" | "destructive" | "neutral" | "success" | "warning" | "information"; size?: "large" | "medium" | "small"; children?: React.ReactNode; icon?: React.ReactNode; iconRight?: React.ReactNode; onClick?: (event: React.MouseEvent) => void; className?: string; } const ButtonRoot = React.forwardRef( function ButtonRoot( { disabled = false, loading = false, variant = "primary", size = "medium", children, icon = null, iconRight = null, className, type = "button", ...otherProps }: ButtonRootProps, ref ) { return ( ); } ); export const Button = ButtonRoot;