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:
@@ -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>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user