Files
web/packages/design-system/lib/components/Icons/Nucleo/Benefits/discount-2-2.tsx
Erik Tiekstra ce469bc4b4 Feat/BOOK-117 svg accessibility
* feat(BOOK-117): Added aria-label to Scandic Friends levels
* feat(BOOK-117): Added aria-label to hotel logos
* feat(BOOK-117): Added alt text to app download images
* feat(BOOK-117): Added same logo component to footer as the one in the header
* feat(BOOK-117): Added aria attributes to icons similar to how we handled MaterialIcon aria attributes

Approved-by: Bianca Widstam
Approved-by: Matilda Landström
2025-11-13 06:34:18 +00:00

52 lines
1.2 KiB
TypeScript

import type { NucleoIconProps } from '../../icon'
import { getNucleoIconProps } from '../utils'
function Discount22(props: NucleoIconProps) {
const { fill, strokewidth, ...iconProps } = getNucleoIconProps(props)
return (
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" {...iconProps}>
<g
fill={fill}
strokeLinecap="round"
strokeLinejoin="round"
transform="translate(0.25 0.25)"
>
<polygon
fill="none"
points="19,15 22,12 19,9 19,5 15,5 12,2 9,5 5,5 5,9 2,12 5,15 5,19 9,19 12,22 15,19 19,19 "
stroke={fill}
strokeWidth={strokewidth}
/>
<line
fill="none"
stroke={fill}
strokeWidth={strokewidth}
x1="15"
x2="9"
y1="9"
y2="15"
/>
<circle
cx="9.5"
cy="9.5"
fill={fill}
r="1.5"
stroke="none"
strokeLinejoin="miter"
/>
<circle
cx="14.5"
cy="14.5"
fill={fill}
r="1.5"
stroke="none"
strokeLinejoin="miter"
/>
</g>
</svg>
)
}
export default Discount22