Skip to content
This repository has been archived by the owner on Sep 10, 2024. It is now read-only.

Allow overriding of className of root #51

Open
RylanH opened this issue Aug 30, 2017 · 0 comments
Open

Allow overriding of className of root #51

RylanH opened this issue Aug 30, 2017 · 0 comments

Comments

@RylanH
Copy link
Contributor

RylanH commented Aug 30, 2017

We commonly do

render() {
  return <div className={cn(this.styles.root, this.props.className)}>

Lets just make this automatic where this.styles.root also grabs this.props.className

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant