import styled from "styled-components"; import color from "../../styles/color"; import { FunctionComponent } from "react"; import { SkeletonAnimation } from "./skeleton-animation"; import { SkeletonCircle } from "./skeleton-circle"; import { SkeletonText } from "./skeleton-text"; import { ChainListTitleContainer, ContentContainer, ButtonContainer, } from "../../pages/verification"; import { ProfileContainer, ProfileContentContainer, ProfileFollowContainer, ProfileNameContainer, ProfileUserNameContainer, } from "../twitter-profile"; import { ChainContainer, ChainInfoContainer, ChainItemContainer, } from "../chain-list"; export const SkeletonChainList: FunctionComponent = () => ( {Array(10) .fill("") .map((_, index) => (
))}
); const SkeletonContainer = styled.div` width: 100%; padding-top: 2.4rem; `; const SkeletonTitle = styled.div` width: 8rem; height: 1.5rem; background-color: ${color.grey["800"]}; `; const SkeletonImageContainer = styled.div` width: 3rem; height: 3rem; position: relative; `; const SkeletonButtonContainer = styled.div` margin-top: 1.5rem; `; const SkeletonButton = styled.div` width: 12rem; height: 4rem; background-color: ${color.grey["800"]}; `; const SkeletonDivider = styled(SkeletonAnimation)` width: 100%; height: 1px; background-color: ${color.grey["600"]}; `;