Created
September 28, 2020 22:28
-
-
Save lega911/dd1727edd04661badb535caa0a88b8fa to your computer and use it in GitHub Desktop.
Attach a class 2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
import Button from './Button.xht'; | |
</script> | |
<Button .btn="red bold" name="Red bold" /> | |
<Button .btn="purple" name="Purple" /> | |
<Button name="Default" /> | |
<style> | |
.red {color: red;} | |
.purple {color: purple;} | |
.bold {font-weight: bold;} | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment