Skip to content

vasucp1207/retro-kit

Repository files navigation

Retro Kit

Buils retro styled svelte apps

📦Installation

npm i retro-kit

☃️Usage

<script> 
  import { Button, Code } from 'retro-kit';

  const handleClick = () => {
    alert("click me");
  };

  let filename = "retro.ts";
  let code = `
    import squareArea from './square';
    import circleArea from './circle';
    console.log('Area of square: ', squareArea(5));
    console.log('Area of circle', circleArea(5));
  `;

</script>

<Button on:click={handleClick} bg="orange">Click Me</Button>

<Code {filename} {code} />

About

Build retro styled svelte apps

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published