UNPKG

556 BTypeScriptView Raw
1/**
2 * Removes disallowed keys from the given object. Allowed keys: Valid props for
3 * HTML or SVG elements (see https://github.com/emotion-js/emotion/tree/main/packages/is-prop-valid)
4 *
5 * Disallowed is anything else and 'style', 'styles', 'className', 'children',
6 * 'makeStyles', 'deterministicId'
7 * @param props The props to process
8 */
9declare function passthroughProps<P extends Record<string, unknown>>(props: P): Record<string, unknown>;
10export { passthroughProps };
11export default passthroughProps;
12//# sourceMappingURL=passthroughProps.d.ts.map
\No newline at end of file