@test-remote/templates.ui.card
TypeScript icon, indicating that this package has built-in type declarations

0.0.5 • Public • Published

Card component

This component

  • renders a Heading Component
  • reanders a Text Component
  • renders a CopyBox Component which can be used to copy the text to the clipboard. This component is optional
  • renders an External Link

Component usage

Render component with any text, html or other component inside

<Card
  link="https://harmony-docs.bit.dev/aspects/generator"
  heading="Templates"
  text="to see a list of available templates"
  command="bit templates"
/>

Using children to render anything inside

Modify the text to see it change live.

<Card
  link="https://harmony-docs.bit.dev/aspects/generator"
  heading="Templates"
  text="to see a list of available templates"
  command="bit templates"
/>

/@test-remote/templates.ui.card/

    Package Sidebar

    Install

    npm i @test-remote/templates.ui.card

    Weekly Downloads

    1

    Version

    0.0.5

    License

    SEE LICENSE IN LICENSE

    Unpacked Size

    20.6 kB

    Total Files

    27

    Last publish

    Collaborators

    • debs_obrien