import { default as React, ReactNode } from 'react'; import { UiCoreLocale } from '../../../helpers/uiCoreLocale'; export type StyledButtonType = 'contained' | 'outlined' | 'text' | 'textGray'; interface commonProps { /** @figmaProp none — ref */ refLink?: React.Ref; /** @figmaProp Size = medium→"Medium" (h40, text16/24) | small→"Small" (h32, text14/20) | large→"Medium" (no distinct Figma size) */ size?: 'large' | 'small' | 'medium'; /** @figmaProp none — behavioral (renders inside the button; Figma "Icon left" 24/20px slot) */ startIcon?: ReactNode; /** @figmaProp none — behavioral (renders inside the button; Figma "Icon right" 24/20px slot) */ endIcon?: ReactNode; /** @figmaProp none — test hook, rendered as `data-testid` */ dataTest: string; /** * @figmaProp none — legacy test hook rendered as-is on the `