rustlanges-components 0.1.0

RustLangES components library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import { registerCase } from "@rustlanges/showcase";
import { Chip } from "./chip.component";

registerCase("Chip", {
  props: {
    variant: {
      kind: "string",
      default: "featured",
      options: ["featured", "numeric", "description", "location", "small"],
    },
    label: {
      kind: "string",
      default: "Destacado",
    },
  },
  component: Chip,
});