import React from 'react' import type { TextButtonProps } from '@packages/shared' import { cn } from '../lib/utils' interface MyButtonProps extends React.ButtonHTMLAttributes { variant?: 'blue' | 'red' | 'green' fillColor?: string textColor?: string fullWidth?: boolean textContent?: string children?: React.ReactNode } const variantStyles: Record = { blue: 'bg-brand-500 text-white hover:bg-brand-600', red: 'bg-red-500 text-white hover:bg-red-600', green: 'bg-green-500 text-white hover:bg-green-600', } export function MyButton({ variant = 'blue', fullWidth, textContent, children, className, disabled, style, ...props }: MyButtonProps) { return ( ) } interface pButtonProps extends Omit, TextButtonProps {} export function pButton({ text, ...props }: pButtonProps) { return {text} }