title: What type my className props need to have in React component using TypeScript?
body: <p>I need help with typing my className props. I already tried to use HTMLAttributes</p>
  <pre><code>className: React.HTMLAttributes&lt;HTMLButtonElement&gt;;
  </code></pre>
  <p>This error comes out when i trying to use my props in className attribute like this &quot;button className={className}&quot;</p>
  <pre><code>&quot;Type 'HTMLAttributes&lt;HTMLButtonElement&gt;' is not assignable to type 'string'.&quot;
  </code></pre>
  <p>And this error comes out when i use tailwind classes in my className props</p>
  <pre><code>Type 'string' has no properties in common with type 'HTMLAttributes&lt;HTMLButtonElement&gt;'.
  </code></pre>