Skip to content

Commit

Permalink
Fixed #615 - AccordionTab title with custom HTML gives error
Browse files Browse the repository at this point in the history
  • Loading branch information
cagataycivici committed Nov 7, 2018
1 parent e21e871 commit 132bb19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/accordion/Accordion.d.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import * as React from 'react';

interface AccordionTabProps {
header?: string;
header?: any;
disabled?: boolean;
headerStyle?: object;
headerClassName?: string;
Expand Down
2 changes: 1 addition & 1 deletion src/components/accordion/Accordion.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export class AccordionTab extends Component {
}

static propTypes = {
header: PropTypes.string,
header: PropTypes.any,
disabled: PropTypes.bool,
headerStyle: PropTypes.object,
headerClassName: PropTypes.string,
Expand Down

0 comments on commit 132bb19

Please sign in to comment.