feat(frame): remove frame from Input component

This commit is contained in:
doryan 2024-08-14 18:54:13 +04:00
parent d3327a7c36
commit 2e1f4b6a12

View File

@ -45,7 +45,6 @@ pub struct Input<I> {
component: Box, component: Box,
input: I, input: I,
input_label: Label, input_label: Label,
input_frame: Frame,
} }
pub struct InputBuilder { pub struct InputBuilder {
@ -74,8 +73,6 @@ impl<I> Product<InputBuilder, Box> for Input<I> {
impl<I> Input<I> { impl<I> Input<I> {
} }
pub fn get_frame(&self) -> &Frame {
&self.input_frame
pub fn get_input(&self) -> &I { pub fn get_input(&self) -> &I {
&self.input &self.input
} }