pickAttrs.d.ts 356 B

1234567891011
  1. export interface PickConfig {
  2. aria?: boolean;
  3. data?: boolean;
  4. attr?: boolean;
  5. }
  6. /**
  7. * Picker props from exist props with filter
  8. * @param props Passed props
  9. * @param ariaOnly boolean | { aria?: boolean; data?: boolean; attr?: boolean; } filter config
  10. */
  11. export default function pickAttrs(props: object, ariaOnly?: boolean | PickConfig): {};