import cn from 'classnames'; import { forwardRef } from 'react'; import { extractSupportProps, WithSupportProps } from '@snack-uikit/utils'; import { HTML_TYPE, TARGET } from '../../constants'; import { ButtonPrivate } from '../../helperComponents'; import { CommonButtonProps } from '../../types'; import { extractCommonButtonProps } from '../../utils'; import { SIZE } from './constants'; import styles from './styles.module.scss'; import { Size } from './types'; export type ButtonElevatedProps = WithSupportProps< Omit & Required> & { /** Размер */ size?: Size; } >; export const ButtonElevated = forwardRef( ({ className, size = SIZE.S, target = TARGET.Blank, type = HTML_TYPE.Button, tabIndex, ...rest }, ref) => ( ), );