mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-09 20:29:36 +02:00
Set outline color for rating component
This commit is contained in:
@@ -3,7 +3,13 @@ import styled from 'styled-components';
|
|||||||
|
|
||||||
type RatingProps = MantineRatingProps;
|
type RatingProps = MantineRatingProps;
|
||||||
|
|
||||||
const StyledRating = styled(MantineRating)``;
|
const StyledRating = styled(MantineRating)`
|
||||||
|
& .mantine-Rating-symbolBody {
|
||||||
|
svg {
|
||||||
|
stroke: var(--main-fg-secondary);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|
||||||
export const Rating = ({ ...props }: RatingProps) => {
|
export const Rating = ({ ...props }: RatingProps) => {
|
||||||
return <StyledRating {...props} />;
|
return <StyledRating {...props} />;
|
||||||
|
|||||||
Reference in New Issue
Block a user