File tree Expand file tree Collapse file tree 9 files changed +18
-18
lines changed Expand file tree Collapse file tree 9 files changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ export interface CustomComponentProps
2020 text ?: string ;
2121 disableLink ?: boolean ;
2222 disableTooltip ?: boolean ;
23- tooltipProps ?: TooltipProps ;
24- wikiLinkProps ?: WikiLinkProps ;
23+ tooltipProps ?: Partial < TooltipProps > ;
24+ wikiLinkProps ?: Partial < WikiLinkProps > ;
2525}
2626
2727const CustomComponent = ( props : CustomComponentProps ) : ReactElement => {
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ export interface DetailsHeaderFlagProps {
1111
1212export interface DetailsHeaderProps {
1313 icon ?: string ;
14- iconProps ?: IconProps ;
14+ iconProps ?: Partial < IconProps > ;
1515 titleClassName ?: string ;
1616 flags ?: DetailsHeaderFlagProps [ ] ;
1717 className ?: string ;
Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ export interface EffectProps {
2828 disableLink ?: boolean ;
2929 disableIcon ?: boolean ;
3030 inline ?: boolean ;
31- tooltipProps ?: TooltipProps ;
32- wikiLinkProps ?: WikiLinkProps ;
33- errorProps ?: ErrorProps ;
34- iconProps ?: IconProps ;
31+ tooltipProps ?: Partial < TooltipProps > ;
32+ wikiLinkProps ?: Partial < WikiLinkProps > ;
33+ errorProps ?: Partial < ErrorProps > ;
34+ iconProps ?: Partial < IconProps > ;
3535 className ?: string ;
3636 style ?: CSSProperties ;
3737}
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ export interface ErrorProps {
2222 disableText ?: boolean ;
2323 disableTooltip ?: boolean ;
2424 inline ?: boolean ;
25- tooltipProps ?: TooltipProps ;
25+ tooltipProps ?: Partial < TooltipProps > ;
2626 className ?: string ;
2727 style ?: CSSProperties ;
2828}
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ export interface IconWithTextProps {
1111 disableIcon ?: boolean ;
1212 disableText ?: boolean ;
1313 inline ?: boolean ;
14- iconProps ?: IconProps ;
14+ iconProps ?: Partial < IconProps > ;
1515 textProps ?: any ;
16- progressProps ?: ProgressProps ;
16+ progressProps ?: Partial < ProgressProps > ;
1717 loading ?: boolean ;
1818 style ?: CSSProperties ;
1919 className ?: string ;
Original file line number Diff line number Diff line change @@ -26,8 +26,8 @@ export interface ItemInternalProps {
2626 disableLink ?: boolean ;
2727 disableTooltip ?: boolean ;
2828 inline ?: boolean ;
29- tooltipProps ?: TooltipProps ;
30- wikiLinkProps ?: WikiLinkProps ;
29+ tooltipProps ?: Partial < TooltipProps > ;
30+ wikiLinkProps ?: Partial < WikiLinkProps > ;
3131 upgrades ?: ItemUpgrades ;
3232 style ?: CSSProperties ;
3333 className ?: string ;
Original file line number Diff line number Diff line change @@ -18,8 +18,8 @@ export interface RaceProps {
1818 disableText ?: boolean ;
1919 disableLink ?: boolean ;
2020 inline ?: boolean ;
21- wikiLinkProps ?: WikiLinkProps ;
22- errorProps ?: ErrorProps ;
21+ wikiLinkProps ?: Partial < WikiLinkProps > ;
22+ errorProps ?: Partial < ErrorProps > ;
2323 className ?: string ;
2424 style ?: CSSProperties ;
2525}
Original file line number Diff line number Diff line change @@ -16,8 +16,8 @@ export interface SkillInternalProps
1616 text ?: string ;
1717 disableLink ?: boolean ;
1818 disableTooltip ?: boolean ;
19- tooltipProps ?: TooltipProps ;
20- wikiLinkProps ?: WikiLinkProps ;
19+ tooltipProps ?: Partial < TooltipProps > ;
20+ wikiLinkProps ?: Partial < WikiLinkProps > ;
2121 style ?: CSSProperties ;
2222 className ?: string ;
2323}
Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ export interface TraitInternalProps {
2020 disableLink ?: boolean ;
2121 disableTooltip ?: boolean ;
2222 inline ?: boolean ;
23- tooltipProps ?: TooltipProps ;
24- wikiLinkProps ?: WikiLinkProps ;
23+ tooltipProps ?: Partial < TooltipProps > ;
24+ wikiLinkProps ?: Partial < WikiLinkProps > ;
2525 inactive ?: boolean ;
2626 style ?: CSSProperties ;
2727 className ?: string ;
You can’t perform that action at this time.
0 commit comments