import { classNames } from '@vkontakte/vkjs'; import type { HTMLAttributesWithRootRef } from '../../types'; import { RootComponent } from '../RootComponent/RootComponent'; import styles from './Gradient.module.css'; const modeStyles = { overlay: styles.modeOverlay, tint: styles.modeTint, }; export interface GradientProps extends HTMLAttributesWithRootRef { /** * Тип градиента. */ mode?: 'tint' | 'default' | 'overlay'; /** * Направление градиента. */ to?: 'top' | 'bottom'; } /** * @see https://vkui.io/components/gradient */ export const Gradient = ({ mode = 'default', to = 'top', ...restProps }: GradientProps): React.ReactNode => { return ( ); };