Skip to content
This repository has been archived by the owner on May 28, 2019. It is now read-only.

Allow setting a class name #10

Closed
chanan opened this issue May 15, 2018 · 1 comment
Closed

Allow setting a class name #10

chanan opened this issue May 15, 2018 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@chanan
Copy link
Owner

chanan commented May 15, 2018

From Glamorous:

const Alert = glamorous.div('alert', props => `alert-${props.type}`);

This will result in:

<div class="alert alert-danger">...</div>
@chanan chanan added the enhancement New feature or request label May 15, 2018
@chanan chanan self-assigned this May 15, 2018
@chanan
Copy link
Owner Author

chanan commented May 15, 2018

#12

@chanan chanan closed this as completed May 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant