score:2

Accepted answer
const Component = ({className = ''}: MyProps) => <div className={className} />;

score:1

className?: string;

Related Query

More Query from same tag