Skip to content

Commit

Permalink
fix: ordering of propTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
mxschmitt committed Oct 5, 2019
1 parent 334ff8d commit e7efa8f
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions src/TabContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,15 @@ import React from 'react';

import { useBootstrapPrefix } from './ThemeProvider';

const propTypes = {
/**
* @default 'tab-content'
*/
bsPrefix: PropTypes.string,

as: PropTypes.elementType,
};

const TabContent = React.forwardRef(
(
{
Expand All @@ -26,13 +35,6 @@ const TabContent = React.forwardRef(
},
);

TabContent.propTypes = {
/**
* @default 'tab-content'
*/
bsPrefix: PropTypes.string,

as: PropTypes.elementType,
};
TabContent.propTypes = propTypes;

export default TabContent;

0 comments on commit e7efa8f

Please sign in to comment.