Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is there a way to specify custom css class names? #1

Open
psantos10 opened this issue Jul 27, 2020 · 1 comment
Open

Is there a way to specify custom css class names? #1

psantos10 opened this issue Jul 27, 2020 · 1 comment

Comments

@psantos10
Copy link
Contributor

When I use

<MetisMenu></MetisMeu>

It generates a HTML like:

<ul class="metismenu">
</ul>

Is there to add another classes, to have something like:

<ul class="metismenu nav">
</ul>

I tried <MetisMenu className="nav"></MetisMeu>, but it did not work:

Property 'className' does not exist on type 'IntrinsicAttributes & IntrinsicClassAttributes<MetisMenu> & Readonly<IMMOptions> & Readonly<...>'.
  Overload 2 of 2, '(props: IMMOptions, context?: any): MetisMenu', gave the following error.
@ahfa92
Copy link

ahfa92 commented Mar 22, 2021

It was merged, but I can't use className, the npm is not updated yet

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

No branches or pull requests

2 participants