From 8f590e4ab9464e93ecb9e3138c7786e8f44607f4 Mon Sep 17 00:00:00 2001 From: Francois Best Date: Sat, 23 Jan 2021 11:34:53 +0100 Subject: [PATCH] fix: Allow custom roles for SVG --- src/components/svg.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/svg.tsx b/src/components/svg.tsx index 1149c8a..336f567 100644 --- a/src/components/svg.tsx +++ b/src/components/svg.tsx @@ -4,7 +4,7 @@ import { chakra, ChakraProps } from '@chakra-ui/react' export type SvgProps = ChakraProps & Pick< SVGAttributes, - 'xmlns' | 'viewBox' | 'preserveAspectRatio' + 'xmlns' | 'viewBox' | 'preserveAspectRatio' | 'role' > export const Svg: React.FC = ({ children, ...props }) => (