mirror of
https://github.com/Stremio/stremio-web.git
synced 2026-04-20 14:52:13 +00:00
Button proptypes dropped
This commit is contained in:
parent
824d9914ae
commit
5280c3c304
1 changed files with 0 additions and 14 deletions
|
|
@ -1,5 +1,4 @@
|
|||
const React = require('react');
|
||||
const PropTypes = require('prop-types');
|
||||
const classnames = require('classnames');
|
||||
const useTabIndex = require('../useTabIndex');
|
||||
const styles = require('./styles');
|
||||
|
|
@ -43,17 +42,4 @@ const Button = React.forwardRef(({ children, ...props }, ref) => {
|
|||
|
||||
Button.displayName = 'Button';
|
||||
|
||||
Button.propTypes = {
|
||||
className: PropTypes.string,
|
||||
tabIndex: PropTypes.number,
|
||||
href: PropTypes.string,
|
||||
disabled: PropTypes.bool,
|
||||
onKeyUp: PropTypes.func,
|
||||
onMouseDown: PropTypes.func,
|
||||
children: PropTypes.oneOfType([
|
||||
PropTypes.arrayOf(PropTypes.node),
|
||||
PropTypes.node
|
||||
])
|
||||
};
|
||||
|
||||
module.exports = Button;
|
||||
|
|
|
|||
Loading…
Reference in a new issue