web_lib

Common web application libraries
git clone https://radroots.dev/git/web_lib.git
Log | Files | Refs | LICENSE

button-label-dashed.svelte (474B)


      1 <script lang="ts">
      2     import type { ICb } from "@radroots/apps-lib";
      3 
      4     let {
      5         basis,
      6     }: {
      7         basis: ICb & {
      8             label: string;
      9         };
     10     } = $props();
     11 </script>
     12 
     13 <button
     14     class={`flex flex-row h-line_button w-full justify-center items-center`}
     15     onclick={async () => {
     16         await basis.callback();
     17     }}
     18 >
     19     <p class={`font-sans font-[500] text-lg text-ly0-gl-hl tracking-wide`}>
     20         {`- ${basis.label} -`}
     21     </p>
     22 </button>