UNPKG

fui-fancyui

Version:
24 lines (23 loc) 537 B
"use client"; import { styled as a } from "styled-components"; const o = a.div` width: 4px; height: 4px; border-radius: ${({ theme: r }) => r.borderRadius.complete}; background-color: ${({ $available: r = "completly", theme: e }) => { switch (r) { case "completly": return e.color.success[0]; case "partially": return e.color.warning[0]; case "not": return e.color.error[0]; case "transparent": return "transparent"; } }}; `; o.displayName = "AvailableDot"; export { o as default };