import { IProps } from "@/common/Iprops.interface"
import CyanGradient from './gradient_cyan.png';
import BlueGradient from './gradient_blue.png';
interface GradientType extends IProps{
    color?: 'cyan'|'blue';
}


export const Gradient =(porps:GradientType)=>{
    const {color} =porps;
    const _color = color||'cyan'
    return(
        _color==='cyan'?
        <img src={CyanGradient} className='absolute'></img>
        :
        <img src={BlueGradient} className='absolute'></img>
    )
}