Skip to main content

validate_props

Function validate_props 

Source
pub fn validate_props(
    def: &ComponentDef,
    props: &Props,
    path: &str,
    view: &CatalogView,
) -> Vec<PropIssue>
Expand description

Every issue in a node’s props against its component definition; path prefixes every issue path (the reducer passes props).