mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-26 05:16:41 +07:00
universal backdrop component
This commit is contained in:
parent
327272a08a
commit
f781ecc6aa
4 changed files with 6 additions and 4 deletions
|
@ -9,7 +9,7 @@ interface IProps {
|
|||
cover: IUser['cover'];
|
||||
}
|
||||
|
||||
const ProfileBackdrop: FC<IProps> = ({ cover }) => {
|
||||
const CoverBackdrop: FC<IProps> = ({ cover }) => {
|
||||
const [is_loaded, setIsLoaded] = useState(false);
|
||||
|
||||
const onLoad = useCallback(() => setIsLoaded(true), [setIsLoaded]);
|
||||
|
@ -32,4 +32,4 @@ const ProfileBackdrop: FC<IProps> = ({ cover }) => {
|
|||
);
|
||||
};
|
||||
|
||||
export { ProfileBackdrop };
|
||||
export { CoverBackdrop };
|
Loading…
Add table
Add a link
Reference in a new issue