import React, { useState } from 'react'; import { Button, Flex, SkeletonLoading, User } from "playbook-ui"; const SkeletonLoadingUser = (props) => { const [isLoading, setIsLoading] = useState(true) const toggleLoading = () => setIsLoading((prev) => !prev) return (
{isLoading ? ( ) : ( )}
{isLoading ? ( ) : ( )}
) } export default SkeletonLoadingUser;