mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-10 05:37:29 +03:00
c3e7732eab
This PR extends `Button` with support for an optional icon to be displayed next to the label. As part of this, the functionality for displaying an icon within a button has been factored out into an internal `ButtonIcon` component. `ButtonIcon` is now used by both `IconButton` and `Button` to encapsulate the concerns of an icon that is rendered within a button. Release Notes: - N/A |
||
---|---|---|
.. | ||
docs | ||
src | ||
Cargo.toml |