Fixed ref warning
这个提交包含在:
父节点
96ed75ac72
当前提交
20cff1aeb1
共有 1 个文件被更改,包括 1 次插入 和 2 次删除
|
@ -16,7 +16,6 @@ type Props = {
|
||||||
};
|
};
|
||||||
|
|
||||||
const AnimatableBadge = Animatable.createAnimatableComponent(Badge);
|
const AnimatableBadge = Animatable.createAnimatableComponent(Badge);
|
||||||
const AnimatableIconButton = Animatable.createAnimatableComponent(IconButton);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Component used to render a small dashboard item
|
* Component used to render a small dashboard item
|
||||||
|
@ -34,7 +33,7 @@ class SmallDashboardItem extends React.Component<Props> {
|
||||||
const colors = props.theme.colors;
|
const colors = props.theme.colors;
|
||||||
return (
|
return (
|
||||||
<View>
|
<View>
|
||||||
<AnimatableIconButton
|
<IconButton
|
||||||
icon={props.icon}
|
icon={props.icon}
|
||||||
color={
|
color={
|
||||||
props.isAvailable
|
props.isAvailable
|
||||||
|
|
正在加载…
在新工单中引用