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(radio): radio with tailwind forms #46

Merged
merged 16 commits into from
Feb 1, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: changed spinner types to getThemeValue
  • Loading branch information
anuraghazra committed Jan 27, 2021
commit ad107d2bc5f776ade24c79ff4f0ed8c98cb0cf44
4 changes: 2 additions & 2 deletions src/spinner/Spinner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ export interface SpinnerProps extends BoxProps {
/**
* How large should the button be?
*/
size?: "xs" | "sm" | "md" | "lg" | "xl";
size?: keyof Renderlesskit.GetThemeValue<"spinner", "size">;
/**
* How the spinner should be displayed?
*/
stroke?: "transparent" | "visible";
stroke?: keyof Renderlesskit.GetThemeValue<"spinner", "stroke">;
}

export const Spinner = forwardRefWithAs<SpinnerProps, HTMLDivElement, "div">(
Expand Down