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

feat(component): theme support to rating #191

Merged
merged 2 commits into from
Jun 5, 2022

Conversation

rluders
Copy link
Collaborator

@rluders rluders commented Jun 4, 2022

Breaking changes

Rating can be customized using < Flowbite theme={..} >

rating: {
    base: string;
    star: {
      sizes: StarSizes;
      filled: string;
      empty: string;
    };
    advanced: {
      base: string;
      label: string;
      progress: {
        base: string;
        fill: string;
        label: string;
      };
    };
  };

closes #142

@rluders rluders requested a review from tulup-conner June 4, 2022 20:15
@rluders rluders changed the title feat(component): theme support to ratting feat(component): theme support to rating Jun 5, 2022
@rluders rluders force-pushed the theme-rating-component branch from be0c5d5 to 416e1e4 Compare June 5, 2022 12:37
src/lib/components/Rating/RatingAdvanced.tsx Outdated Show resolved Hide resolved
src/lib/components/Rating/RatingContext.tsx Outdated Show resolved Hide resolved
src/lib/components/Rating/RatingAdvanced.tsx Show resolved Hide resolved
src/lib/components/Rating/index.tsx Outdated Show resolved Hide resolved
@rluders rluders merged commit c0daead into themesberg:main Jun 5, 2022
@rluders rluders deleted the theme-rating-component branch June 5, 2022 13:15
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.

Theme: Rating component
2 participants