Skip to content

Commit

Permalink
Merge pull request #1 from dyte-in/fix-lint
Browse files Browse the repository at this point in the history
fix: lint issues in GridLink
  • Loading branch information
vaibhavshn authored Feb 23, 2022
2 parents 4f4c428 + 122499f commit 6e96484
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/components/GridLink.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import React from 'react';
import clsx from 'clsx';
import Link from '@docusaurus/Link';
import PropTypes from 'prop-types';

export default function GridLink({
Icon,
Expand All @@ -27,3 +28,10 @@ export default function GridLink({
</Link>
);
}

GridLink.propTypes = {
Icon: PropTypes.element,
title: PropTypes.string,
subtitle: PropTypes.string,
className: PropTypes.string,
};

0 comments on commit 6e96484

Please sign in to comment.