feat(SW-2178): Changed to new buttons for summary inside enter details

Approved-by: Michael Zetterberg
Approved-by: Matilda Landström
This commit is contained in:
Erik Tiekstra
2025-04-11 15:13:37 +00:00
parent 8961cbd9d5
commit f62723c6e5
15 changed files with 363 additions and 101 deletions

View File

@@ -15,6 +15,7 @@ export interface MaterialIconProps
export type MaterialIconSetIconProps = Omit<MaterialIconProps, 'icon'>
export function MaterialIcon({
color,
size = 24,
className,
isFilled = false,
...props
@@ -23,7 +24,12 @@ export function MaterialIcon({
return (
// The span is used to prevent the MaterialSymbol from being underlined when used inside a link or button
<span>
<MaterialSymbol className={classNames} {...props} fill={isFilled} />
<MaterialSymbol
className={classNames}
size={size}
{...props}
fill={isFilled}
/>
</span>
)
}