ratatui_toolkit/primitives/button/methods/
hover.rs

1use ratatui::style::Style;
2
3use crate::primitives::button::Button;
4
5impl Button {
6    /// Returns the hover style.
7    ///
8    /// # Returns
9    ///
10    /// The style applied when the button is hovered
11    #[inline]
12    pub fn hover(&self) -> Style {
13        self.hover_style
14    }
15}