Skip to content

Commit 82d4a42

Browse files
committed
Define type for title property in PageItem
Accorging to http://www.w3.org/TR/WCAG20-TECHS/H33.html The title attribute is used to provide additional information to help clarify or further describe the purpose of a link. Еherefore I set type for `title` to `string`.
1 parent 2cebc2c commit 82d4a42

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/PageItem.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ const PageItem = React.createClass({
66
propTypes: {
77
href: React.PropTypes.string,
88
target: React.PropTypes.string,
9+
title: React.PropTypes.string,
910
disabled: React.PropTypes.bool,
1011
previous: React.PropTypes.bool,
1112
next: React.PropTypes.bool,

0 commit comments

Comments
 (0)