Last active
September 10, 2023 13:37
-
-
Save andrew-levy/546f1e4b914a6e424cd305326c0a98ec to your computer and use it in GitHub Desktop.
With Options
This file contains hidden or 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
import { styled } from 'style-direct-club'; | |
const Text = styled.Text.withOptions({ | |
aliases: { | |
bg: "backgroundColor", | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment