diff --git a/src/styles/mod.rs b/src/styles/mod.rs index 0b0e574..25896f1 100644 --- a/src/styles/mod.rs +++ b/src/styles/mod.rs @@ -22,7 +22,7 @@ pub trait FormStyle: Default + 'static { /// /// Do NOT wrap it in an actual `form` element; any /// wrapping should be done with `div` or similar elements. - fn form_frame(&self, children: View, styles: Vec) -> View; + fn form_frame(&self, children: View, style: Vec) -> View; fn heading(&self, control: ControlRenderData) -> View; fn hidden( &self, @@ -86,6 +86,5 @@ pub trait FormStyle: Default + 'static { fn submit(&self, control: ControlRenderData) -> View; // TODO: test custom component fn custom_component(&self, view: View) -> View; - // TODO: test group - fn group(&self, inner: View, styles: Vec) -> View; + fn group(&self, inner: View, style: Vec) -> View; }