/* eslint-disable sonarjs/no-globals-shadowing */ import React from 'react'; import { styles } from './symbol.styles.js'; import { type SymbolProps } from './symbol.types.js'; import { getTransform } from './symbol.utils.js'; export function Symbol({ copyrightYear = '', xmlns = 'http://www.w3.org/2000/svg', role = 'img', focusable = false, className, viewBoxWidth, viewBoxHeight, align, offset, children, ...props }: SymbolProps) { return ( {copyrightYear && ( {`Copyright © ${copyrightYear} by Westpac Banking Corporation. All rights reserved.`} )} {align && offset ? {children} : children} ); }