import React, { FunctionComponent, HTMLAttributes } from 'react'; import classNames from '../../lib/classNames'; export interface GradientProps extends HTMLAttributes { mode?: 'tint' | 'white' | 'black'; to?: 'top' | 'bottom'; } const Gradient: FunctionComponent = ({ mode, children, style, className, to, ...restProps }: GradientProps) => { return (
{children}
); }; Gradient.defaultProps = { mode: 'tint', to: 'top', }; export default Gradient;