May be specific NODE modules, TS imports and/or Rollup config steps are required. Currently in my projuect the 'sx' attribute is silently ignored.
<Button
sx={ sw
? { color: 'blue', bgcolor: 'yellow' }
: {}
}
on:click={() => handleLocaleChange('ua')}
use={[afterMountSetupRuButton]}
>
<Label>UA</Label>
</Button>
Top comments (0)