Created
April 20, 2021 13:27
-
-
Save andrewspode/5ef2b91a3a701d2912c30e1eaea27c98 to your computer and use it in GitHub Desktop.
Classgroup
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> | |
const classes = ClassGroup({ | |
descriptionBox: { | |
layout: 'm-auto w-3/4 p-2', | |
presentation: 'bg-gray-100 text-cyan-600', | |
} | |
}); | |
</script> | |
// We are using Svelte! | |
<div class="{ classes.descriptionBox }"></div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment