Property square for variant marble not working
See original GitHub issueHey, as stated in the title, the marble variant is with square not working.
v.1.5.8
<Avatar
size={40}
name="sdfasdf"
variant="marble"
square={true}
colors={[
brandColor.teal500,
brandColor.cyan600,
brandColor.blueGray500,
]}
/>
Thanks for your work!
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (2 by maintainers)
Top Results From Across the Web
How to Calculate Square Footage San Diego Marble & Tile
How much tile will you need for your project? Use our easy square footage calculator, with step by step instructions, to help estimate...
Read more >Chapter 20 - SIGNS | Code of Ordinances | Marble Falls, TX
Shall be non-illuminated, located on private property, and shall not be greater than ten (10) square feet in area. Residential realtor signs shall...
Read more >house of mosaics - The Home Depot
The House of Mosaics Petrol Marble Mix 11.81 in. x 11.81 in. Square Joint Polished & Matte Marble, Glass & Metal Mosaic Wall...
Read more >Bottochino Square Pedestal Marble Plant Stand - Wayfair.com
There are two types of natural marble - creme-colored Bottochino and veined Ebony - in this amazingly substantial work that showcases not only...
Read more >Blue Marble Investments, LLC, Pet itioner- Appellant, ORDER
The property is also improved by 19,240 square feet of asphalt paving and is ... Blue Marble did not explicitly indicate it was...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I think that’s a perfectly reasonable way to implement this. And I much prefer the implementation remain simple.
Love this library btw. If you ever need help supporting it in the future. Let me know!
Hey @rjgrazioli thanks for the heads up and finding the issue 😍 .
If I get this right, you’re trying to use both
square
andcircle
options on the same app. Avatars are “unique” to it’s name, so even if we add a unique filter ID (and that will be based on the name) you’ll get the same issue with two avatars sharing the same name.My recommendation for this case, as you mentioned, would be to use the
square
option for all the Avatars and apply a CSSborder-radius
for those you need to change to circle ones.