@naturacosmeticos/natds-react
Version:
A collection of components from Natura Design System for React
19 lines (18 loc) • 452 B
TypeScript
import React from 'react';
export interface ImageProps {
/**
* Specify an optional className to be added to your Image
*/
className?: string;
/**
* Optional ID for testing
*/
testID?: string;
sourceImage: string;
fallbackImage?: string;
alternativeText?: string;
highlight?: boolean;
fade?: 'top' | 'bottom' | 'right' | 'left';
border?: 'medium' | 'circle';
children?: React.ReactNode;
}