How to use @webiny/ui - 3 common examples

To help you get started, we’ve selected a few @webiny/ui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github webiny / webiny-js / packages / ui / src / Switch / Switch.js View on Github external
render() {
        const { value, description, validation = { isValid: null } } = this.props;

        return (
            
                

                {validation.isValid === false && (
                    {validation.message}
                )}

                {validation.isValid !== false && description && (
                    {description}
                )}
            
        );
    }
}
github webiny / webiny-js / packages / app-admin / src / components / SplitView / SplitView.js View on Github external
const RightPanel = (props: Props) => {
    let propList = clone(props);
    if (!propList.hasOwnProperty("span")) {
        propList.span = 7;
    }

    return (
        
            
                {propList.children}
            
        
    );
};
github webiny / webiny-js / packages / app-admin / src / components / SplitView / SplitView.js View on Github external
const LeftPanel = (props: Props) => {
    let propList = clone(props);
    if (!propList.hasOwnProperty("span")) {
        propList.span = 5;
    }

    return (
        
            {propList.children}
        
    );
};

@webiny/ui

A collection of material-design based components, for all of your UI development needs.

MIT
Latest version published 2 days ago

Package Health Score

80 / 100
Full package analysis

Popular @webiny/ui functions

Similar packages