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.
Exposing internal styles from design systemFler avsnitt av The Call Kent Podcast
Visa alla avsnitt av The Call Kent PodcastThe Call Kent Podcast med Kent C. Dodds finns tillgänglig på flera plattformar. Informationen på denna sida kommer från offentliga podd-flöden.
