ExampleComponent.svelte 247 B

12345678910111213141516
  1. <script lang="typescript">
  2. export let title: string;
  3. export let paragraph: string;
  4. </script>
  5. <svelte:options immutable />
  6. <style>
  7. p {
  8. color: #4A5568;
  9. margin-top: 1rem;
  10. }
  11. </style>
  12. <h1 class="text-red-200">{title}</h1>
  13. <p>{paragraph}</p>