border-gradient-radius
Version:
A React component for creating gradient borders with border radius
11 lines (10 loc) • 501 B
TypeScript
import * as React from 'react';
export interface BorderRadiusGradientProps extends React.HTMLAttributes<HTMLDivElement> {
containerBackgroundColor?: string;
gradientValue?: string;
children?: React.ReactNode;
className?: string;
borderWidth?: string;
borderRadius?: string;
}
export declare const BorderRadiusGradient: ({ containerBackgroundColor, gradientValue, children, className, borderWidth, borderRadius, ...restProps }: BorderRadiusGradientProps) => React.ReactElement;