Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aizad/73969/rtr ts #6

Original file line number Diff line number Diff line change
@@ -1 +1 @@
export * from './reports-table-row.jsx';
export * from './reports-table-row';
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
import ContentLoader from 'react-content-loader';
import React from 'react';
import PropTypes from 'prop-types';

const ReportsTableRowLoader = ({ speed }) => (
type TReportsTableRowLoader = {
speed?: number;
};

const ReportsTableRowLoader = ({ speed }: TReportsTableRowLoader) => (
<ContentLoader
height={64}
width={992}
Expand All @@ -21,8 +24,4 @@ const ReportsTableRowLoader = ({ speed }) => (
</ContentLoader>
);

ReportsTableRowLoader.propTypes = {
speed: PropTypes.number,
};

export { ReportsTableRowLoader };