1
0
Fork 0

chore(lab): Use locale and hover resize consistently

This commit is contained in:
Joost De Cock 2022-01-27 18:07:37 +01:00
parent 2380b4f2db
commit e8d747a949
18 changed files with 162 additions and 96 deletions

View file

@ -3,7 +3,7 @@ import React from 'react'
const Svg = ({
embed = true,
develop = false,
language = 'en',
locale = 'en',
className = 'freesewing pattern',
style = {},
viewBox = false,
@ -15,7 +15,7 @@ const Svg = ({
xmlns: 'http://www.w3.org/2000/svg',
'xmlns:svg': 'http://www.w3.org/2000/svg',
xmlnsXlink: 'http://www.w3.org/1999/xlink',
xmlLang: language,
xmlLang: locale,
viewBox: viewBox || `0 0 ${width} ${height}`,
className,
style