Download spectrum/src/components/hoverProfile/loadingHoverProfile.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 569 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/spectrum/src/components/hoverProfile/loadingHoverProfile.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/spectrum/src/components/hoverProfile/loadingHoverProfile.js
-
curl -L -o loadingHoverProfile.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/spectrum/src/components/hoverProfile/loadingHoverProfile.js
569 Bytes
| // @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> | |
| ); | |
| } | |
| } | |