mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-04-01 02:41:39 -05:00
Updated prop types for trigger button
refs https://github.com/TryGhost/members.js/issues/5 - Only place where we pass down props to check popup state - Adds propType for popup state
This commit is contained in:
parent
4d94188d1c
commit
31f04851e5
1 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,4 @@
|
|||
import PropTypes from 'prop-types';
|
||||
import Frame from './Frame';
|
||||
import MemberGravatar from './common/MemberGravatar';
|
||||
import {ParentContext} from './ParentContext';
|
||||
|
@ -102,3 +103,7 @@ export default class TriggerButton extends React.Component {
|
|||
);
|
||||
}
|
||||
}
|
||||
|
||||
TriggerButton.propTypes = {
|
||||
isPopupOpen: PropTypes.bool
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue