All files / src/components/Skeleton variants.ts

100% Statements 1/1
100% Branches 0/0
100% Functions 0/0
100% Lines 1/1

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31                              23x                              
import type { Component } from "vue";
import type { SkeletonVariantName } from "./types";
import Block from "./variants/Block.vue";
import Text from "./variants/Text.vue";
import Circle from "./variants/Circle.vue";
import Button from "./variants/Button.vue";
import Avatar from "./variants/Avatar.vue";
import Profile from "./variants/Profile.vue";
import Input from "./variants/Input.vue";
import Card from "./variants/Card.vue";
import Article from "./variants/Article.vue";
import Table from "./variants/Table.vue";
import List from "./variants/List.vue";
import Grid from "./variants/Grid.vue";
import Image from "./variants/Image.vue";
export const skeletonVariants: Record<SkeletonVariantName, Component> = {
  block: Block,
  text: Text,
  circle: Circle,
  button: Button,
  avatar: Avatar,
  profile: Profile,
  input: Input,
  card: Card,
  article: Article,
  table: Table,
  list: List,
  grid: Grid,
  image: Image,
};