@naturacosmeticos/natds-web
Version:
A collection of components from Natura Design System for React websites and webapps
36 lines (35 loc) • 701 B
TypeScript
import * as React from 'react';
export declare type IRatingSizes = 'small' | 'standard' | 'semi' | 'semix';
export interface IRatingProps {
[propName: string]: any;
/**
* Forward CSS class name to `class` HTML attribute.
*
* @optional
* @type string
*/
className?: string;
/**
* The input id property
*
* @required
* @type string
*/
id?: string;
/**
* Style to be used on Rating
*/
style?: React.CSSProperties;
/**
* Size of the `Rating`. Defaults to `"small"`.
*
* @optional
*/
size?: IRatingSizes;
/**
* The rating value
*
* @optional
*/
rate?: number;
}