I have a code in typescript with material ui
theme.palette[props.color] Element implicitly has an \'any\' type because expression of type \'any\' can\'t be u