export function omitProps(oldProps, excludeProps) {
    const newProps = {};
    for (const key in oldProps) {
        if (excludeProps.includes(key)) {
            continue;
        }
        newProps[key] = oldProps[key];
    }
    return newProps;
}
