Skip to content

Commit

Permalink
fix: Allow custom roles for SVG
Browse files Browse the repository at this point in the history
  • Loading branch information
franky47 committed Jan 23, 2021
1 parent fa17db6 commit 8f590e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/svg.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { chakra, ChakraProps } from '@chakra-ui/react'
export type SvgProps = ChakraProps &
Pick<
SVGAttributes<HTMLOrSVGElement>,
'xmlns' | 'viewBox' | 'preserveAspectRatio'
'xmlns' | 'viewBox' | 'preserveAspectRatio' | 'role'
>

export const Svg: React.FC<SvgProps> = ({ children, ...props }) => (
Expand Down

0 comments on commit 8f590e4

Please sign in to comment.