I see that you do it like <div style={{WebkitAppearance: SOMETHING}}></div>, but what is SOMETHING?
type PropType = {
appearance: string;
}
function MyComponent({
appearance
}: PropType) {
const style = {
WebkitAppearance: appearance
}
}
I am getting this error:
Type 'string' is not assignable to type 'WebkitAppearance | undefined'
How do you set -webkit-appearance in React + TypeScript?