import React from 'react'; import { GlassButton } from './GlassButton'; import './style.scss'; export interface ShowCodeButtonProps { /** Click handler */ onClick: () => void; /** Button text */ text?: string; /** Show icon */ showIcon?: boolean; /** Button variant */ variant?: 'primary' | 'success' | 'danger' | 'warning' | 'default' | 'outline'; /** Custom className */ className?: string; } export const ShowCodeButton: React.FC = ({ onClick, text = 'Show Code', showIcon = true, variant = 'default', className = '' }) => { return ( {showIcon && ( )} {text} ); };