import React from 'react';

import {
  Skeleton,
  SkeletonThemeComponent
} from '@alicloud/console-components';

import {
  ITestingProps
} from '../../types';

export default function Testing({
  component
}: ITestingProps<SkeletonThemeComponent>): JSX.Element {
  const SkeletonTheme = component;
  
  return <SkeletonTheme {...{
    color: '#fcc',
    highlightColor: '#ccf'
  }}>
    <Skeleton {...{
      count: 3
    }} />
  </SkeletonTheme>;
}
