File size: 569 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
// @flow
import * as React from 'react';
import { Loading } from 'src/components/loading';
import { HoverWrapper, ProfileCard } from './style';
type Props = {
ref?: (?HTMLElement) => void,
style: CSSStyleDeclaration,
};
export default class LoadingHoverProfile extends React.Component<Props> {
render() {
const { ref, style } = this.props;
return (
<HoverWrapper popperStyle={style} ref={ref}>
<ProfileCard style={{ display: 'flex', alignItems: 'center' }}>
<Loading />
</ProfileCard>
</HoverWrapper>
);
}
}
|