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

Add random and randompalette prop #87

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

serdar-c
Copy link

@serdar-c serdar-c commented Oct 25, 2024

Add random and randompalette prop

This PR adds random and randompalette prop.

Add random prop

Random

The random prop is used to generate the avatar randomly, independent of the name.

<Avatar name="Clara Barton" random/>

Or you can leave the name empty.

<Avatar name=""/>

Or you can not use it at all.

<Avatar />

Preview:

random

Add randompalette prop

Random Palette

The randompalette prop is used to change the color palette of the avatar with a random color palette.

<Avatar name="Lucy Stone" randompalette/>

@serdar-c serdar-c changed the title Add Random Prop Add random prop Oct 25, 2024
@serdar-c serdar-c marked this pull request as draft October 28, 2024 12:30
@serdar-c serdar-c marked this pull request as ready for review October 28, 2024 13:25
@serdar-c serdar-c changed the title Add random prop Add random and randompalette prop Oct 29, 2024
Copy link

This PR is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Nov 28, 2024
@serdar-c
Copy link
Author

Up to avoid stale.

@github-actions github-actions bot removed the Stale label Nov 29, 2024
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

Successfully merging this pull request may close these issues.

1 participant