small rename

This commit is contained in:
Mitchell Marino 2024-06-07 15:19:29 -05:00
parent edc9c4d371
commit 360ef63b58

View File

@ -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<Self::StylingAttributes>) -> View;
fn form_frame(&self, children: View, style: Vec<Self::StylingAttributes>) -> View;
fn heading(&self, control: ControlRenderData<Self, HeadingData>) -> View;
fn hidden(
&self,
@ -86,6 +86,5 @@ pub trait FormStyle: Default + 'static {
fn submit(&self, control: ControlRenderData<Self, SubmitData>) -> View;
// TODO: test custom component
fn custom_component(&self, view: View) -> View;
// TODO: test group
fn group(&self, inner: View, styles: Vec<Self::StylingAttributes>) -> View;
fn group(&self, inner: View, style: Vec<Self::StylingAttributes>) -> View;
}