// @flow
import type { ChildrenArray, Element } from 'react';
import type { TestingProps } from '../../../../mixins/testing';
import type { StylableProps } from '../../../../mixins/themes';

import { Td } from '../td';
import { Th } from '../th';

type TdElement = Element<typeof Td>;
type ThElement = Element<typeof Th>;

export type TrProps = {|
  ...TestingProps,
  ...StylableProps,
  children: ChildrenArray<ThElement | TdElement>,
|};
