Skip to content

Commit

Permalink
Fix propTypes in WalletSection
Browse files Browse the repository at this point in the history
  • Loading branch information
WojtekBoman committed Nov 2, 2023
1 parent 126d419 commit ca31c37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/WalletSection.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import PropTypes from 'prop-types';
import React from 'react';
import styles from '@styles/styles';
import sourcePropTypes from './Image/sourcePropTypes';
import Section from './Section';

const propTypes = {
/** Contents to display inside the section */
children: PropTypes.node,

/** The icon to display along with the title */
icon: PropTypes.func,
icon: sourcePropTypes,

/** The text to display in the subtitle of the section */
subtitle: PropTypes.string,
Expand Down

0 comments on commit ca31c37

Please sign in to comment.