I'm trying to add a simple expansion panel to my page. I need to use extra-large chevron-up down expand and collapse icons. I've tried creating an SvgIcon react element and setting its size that way, but I get a typescript error saying the element is missing the name. Is there a simple way to change the expand and collapse svg icon sizes on an ExpansionPanel? This is something I've tried so far:
const expandIcon = (
<SvgIcon className="k-mb-xs k-mx-sm" icon={chevronUpIcon} size="xxlarge" />
);
return (
<ExpansionPanel
title={title}
expanded={expanded}
expandSVGIcon={expandIcon}
onAction={(event) => {
setExpanded(!event.expanded);
}}
>
<span />
<Reveal>
{expanded && <ExpansionPanelContent>{children}</ExpansionPanelContent>}
</Reveal>
</ExpansionPanel>
);