Children must have inline display to work properly with a single line. For example, FormattedText is not compatible with a single line (but is with multiple lines).
Wraps useToggle and renames return values for convenience.
OptionalinitialIsExpanded: TypeOrFunction<boolean>
Truncates text to a specific number of lines. For toggling functionality, se TruncatedText.useTruncatedText.