ui: Add functions for generating textual representations of key bindings (#15287)

This PR adds some helper functions in the `ui` crate that can be used to
get textural representations of keystrokes or key bindings.

Release Notes:

- N/A
This commit is contained in:
Marshall Bowers 2024-07-26 12:52:59 -04:00 committed by GitHub
parent a5279cc48a
commit c937a2fcdd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 206 additions and 23 deletions

View file

@ -7,6 +7,7 @@ mod clickable;
mod components;
mod disableable;
mod fixed;
mod key_bindings;
pub mod prelude;
mod selectable;
mod styled_ext;
@ -19,6 +20,7 @@ pub use clickable::*;
pub use components::*;
pub use disableable::*;
pub use fixed::*;
pub use key_bindings::*;
pub use prelude::*;
pub use styled_ext::*;
pub use styles::*;