That is, of course, all except the styles.
Some libraries ship CSS files, some use a CSS-in-JS approach.
However, regardless of the method, you need to force the people that use your library to adapt to the decisions you have made.
This talk proposes a new way that lets the people who use your library use their existing styling approach.
All without you knowing what they will opt for in the end.