@naturacosmeticos/natds-react
Version:
A collection of components from Natura Design System for React
37 lines (36 loc) • 765 B
TypeScript
import React from 'react';
import { BrandTypes } from '../../brandTypes/brandTypes';
export interface TabProps {
/**
* Optional ID for testing
*/
testID?: string;
/**
* Optional ID for testing
*/
brand?: BrandTypes;
/**
* All TabItems component
*/
children: React.ReactNode;
/**
* Define align of icon relative by text
*/
icon?: 'left' | 'top';
/**
* Define align of tabs
*/
align?: 'left' | 'center' | 'right';
/**
* Define behavior of container when width is over
*/
position?: 'fixed' | 'scrollable';
/**
* Toggle box shadow effects
*/
elevation?: boolean;
/**
* Toggle background color of container
*/
color?: boolean;
}