function normalizeProps(props) {
    Object.keys(props).forEach(k => {
        let propValue = props[k];
        let defaultValue = null;
        if (propValue && propValue.default !==  undefined) {
            defaultValue = propValue.default;
        }
        props[k] = defaultValue;
    });
    return props;
}
function normalizeProps(props) {
    Object.keys(props).forEach(k => {
        let propValue = props[k];
        let defaultValue = null;
        if (propValue && propValue.default !==  undefined) {
            defaultValue = propValue.default;
        }
        props[k] = defaultValue;
    });
    return props;
}
function normalizeProps ( props ) { Object . keys ( props ) . forEach ( k => { let propValue = props [ k ] ; let defaultValue = null ; if ( propValue && propValue . default !== undefined ) { defaultValue = propValue . default ; } props [ k ] = defaultValue ; } ) ; return props ; }
Normalize component props data using mini program syntax

@param {Object} props the props data to normalize
@return {?Object}
Normalize component props data using mini program syntax