mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 04:20:12 +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;
|
||||
|
||||
const StyledRating = styled(MantineRating)``;
|
||||
const StyledRating = styled(MantineRating)`
|
||||
& .mantine-Rating-symbolBody {
|
||||
svg {
|
||||
stroke: var(--main-fg-secondary);
|
||||
}
|
||||
}
|
||||
`;
|
||||
|
||||
export const Rating = ({ ...props }: RatingProps) => {
|
||||
return <StyledRating {...props} />;
|
||||
|
||||
Reference in New Issue
Block a user