question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Custom classnames

See original GitHub issue

Guess this is a simple one, could we allow to customize the classnames of the SlideDown component with props? In my opinion className should overwrite the default class name, not extend it. closedClassName could be used to overwrite the closed classname.

What do you think?

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
code-mattcommented, May 29, 2018

Oh good to know, never used that option 😃 This is a great package, thanks!

0reactions
frankwalliscommented, May 29, 2018

@code-matt yes that is actually how it works right now

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is it possible to set a className on custom react components?
1 Answer 1 · I would suggest below code achieve the end goal. class SimpleComponent extends React.Component { render() { return <div className={ ......
Read more >
classnames - npm
A simple utility for conditionally joining classNames together. Latest version: 2.3.2, last published: 3 months ago. Start using classnames ...
Read more >
CSS Class Names: Apply Styles to Individual Survey Questions
Enter the CSS code you wish to apply in the field on the Custom CSS tab. Start off your CSS with your CSS...
Read more >
Class Names - Emotion
It can be useful to create a className that is not passed to a component, for example if a component accepts a wrapperClassName...
Read more >
How to customize - Material UI - MUI
Learn how to customize Material UI components by taking advantage of different ... To customize a specific part of a component, you can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found