Skip to content
Merged
Changes from all commits
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
8 changes: 7 additions & 1 deletion src/components/Svg/Svg.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,19 @@ const StyledSvg = styled(DEFAULT_TAG, {
})

type SvgVariants = VariantProps<typeof StyledSvg>
type SvgProps = ComponentProps<typeof DEFAULT_TAG> &
type SvgProps = Omit<ComponentProps<typeof DEFAULT_TAG>, 'fr'> &
CSSProps &
SvgVariants & {
/** Add a title to the svg */
title?: string
/** Add the given svg path */
path?: string
/**
* The fr attribute defines the radius of the focal point for the radial gradient.
*
* Forced optional due to ts bug
*/
fr?: string
}

/**
Expand Down