A caller wants to expose internal styles from their component library to consumers. Kent suggests using a variable to export the class names and using a library like CVA to create multiple variants of a set of class names. He also recommends against using disabled buttons as a workaround and instead suggests creating individual components for each use case.
Podden och tillhörande omslagsbild på den här sidan tillhör
Kent C. Dodds. Innehållet i podden är skapat av Kent C. Dodds och inte av,
eller tillsammans med, Poddtoppen.