Fix export style of <LoadGap />
based on <Domain />
(#25128)
This commit is contained in:
parent
245a4eac89
commit
ae0341c203
1 changed files with 17 additions and 17 deletions
|
@ -16,8 +16,7 @@ interface Props {
|
||||||
intl: InjectedIntl;
|
intl: InjectedIntl;
|
||||||
}
|
}
|
||||||
|
|
||||||
export const LoadGap = injectIntl<Props>(
|
const _LoadGap: React.FC<Props> = ({ disabled, maxId, onClick, intl }) => {
|
||||||
({ disabled, maxId, onClick, intl }) => {
|
|
||||||
const handleClick = useCallback(() => {
|
const handleClick = useCallback(() => {
|
||||||
onClick(maxId);
|
onClick(maxId);
|
||||||
}, [maxId, onClick]);
|
}, [maxId, onClick]);
|
||||||
|
@ -32,5 +31,6 @@ export const LoadGap = injectIntl<Props>(
|
||||||
<Icon id='ellipsis-h' />
|
<Icon id='ellipsis-h' />
|
||||||
</button>
|
</button>
|
||||||
);
|
);
|
||||||
}
|
};
|
||||||
);
|
|
||||||
|
export const LoadGap = injectIntl(_LoadGap);
|
||||||
|
|
Loading…
Reference in a new issue