diff --git a/components/lib/avatar/Avatar.d.ts b/components/lib/avatar/Avatar.d.ts index b81e14a808..f7bfade70b 100644 --- a/components/lib/avatar/Avatar.d.ts +++ b/components/lib/avatar/Avatar.d.ts @@ -7,7 +7,7 @@ type AvatarShapeType = 'square' | 'circle'; type AvatarTemplateType = React.ReactNode | ((props: AvatarProps) => React.ReactNode); -export interface AvatarProps extends Omit, HTMLDivElement>, 'ref'> { +export interface AvatarProps extends Omit, HTMLDivElement>, 'ref'> { label?: string; icon?: IconType; image?: string; diff --git a/components/lib/badge/Badge.d.ts b/components/lib/badge/Badge.d.ts index 43f4128fc1..4277194d34 100644 --- a/components/lib/badge/Badge.d.ts +++ b/components/lib/badge/Badge.d.ts @@ -4,7 +4,7 @@ type BadgeSeverityType = 'success' | 'info' | 'warn' | 'error' | (string & {}); type BadgeSizeType = 'normal' | 'large' | 'xlarge'; -export interface BadgeProps extends Omit, HTMLSpanElement>, 'ref'> { +export interface BadgeProps extends Omit, HTMLSpanElement>, 'ref'> { value?: any; severity?: BadgeSeverityType; size?: BadgeSizeType; diff --git a/components/lib/card/Card.d.ts b/components/lib/card/Card.d.ts index 464631d75f..c0cc7bad1e 100644 --- a/components/lib/card/Card.d.ts +++ b/components/lib/card/Card.d.ts @@ -2,14 +2,11 @@ import * as React from 'react'; type CardTemplateTypes = React.ReactNode | ((props: CardProps) => React.ReactNode); -export interface CardProps { - id?: string; +export interface CardProps extends Omit, HTMLDivElement>, 'ref'> { header?: CardTemplateTypes; footer?: CardTemplateTypes; title?: CardTemplateTypes; subTitle?: CardTemplateTypes; - style?: object; - className?: string; children?: React.ReactNode; } diff --git a/components/lib/chip/Chip.d.ts b/components/lib/chip/Chip.d.ts index 9f214c78d2..2bfc4abeb4 100644 --- a/components/lib/chip/Chip.d.ts +++ b/components/lib/chip/Chip.d.ts @@ -1,14 +1,12 @@ import * as React from 'react'; import { IconType, TemplateType } from '../utils'; -export interface ChipProps { +export interface ChipProps extends Omit, HTMLDivElement>, 'ref'> { label?: string; icon?: IconType; image?: string; removable?: boolean; removeIcon?: string; - className?: string; - style?: object; template?: TemplateType; imageAlt?: string; onImageError?(event: React.SyntheticEvent): void;