nusu / avvvatars

Beautifully crafted unique avatar placeholder for your next react project

Home Page:https://avvvatars.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Cannot pass className inside props

AntoineKM opened this issue · comments

image

I would like to be able to pass a className into Params

commented

That's not possible at the moment but you can tweak it. Wrap the component around a div

<div class="avatar-wrapper">
	<Avvvatars value="something" />
</div>

then apply styles like this:

	.avatar-wrapper > div {
		background-color: #000;
	}

that should do the trick