Files
video-gen/video-gen-admin/node_modules/@rc-component/util/lib/pickAttrs.d.ts
T
2026-05-25 17:08:18 +08:00

12 lines
356 B
TypeScript

export interface PickConfig {
aria?: boolean;
data?: boolean;
attr?: boolean;
}
/**
* Picker props from exist props with filter
* @param props Passed props
* @param ariaOnly boolean | { aria?: boolean; data?: boolean; attr?: boolean; } filter config
*/
export default function pickAttrs(props: object, ariaOnly?: boolean | PickConfig): {};