Skip to content

Commit

Permalink
fix(*): fix prop types for composite components (#40)
Browse files Browse the repository at this point in the history
  • Loading branch information
Stepan Mikhaylyuk committed May 24, 2017
1 parent a0b182a commit 8dace92
Show file tree
Hide file tree
Showing 8 changed files with 49 additions and 43 deletions.

Large diffs are not rendered by default.

40 changes: 0 additions & 40 deletions arui-demo/styleguide/build/bundle.39de39a0.js

This file was deleted.

40 changes: 40 additions & 0 deletions arui-demo/styleguide/build/bundle.f86e8419.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion arui-demo/styleguide/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@
</head>
<body>
<div id="app"></div>
<script type="text/javascript" src="build/bundle.39de39a0.js"></script></body>
<script type="text/javascript" src="build/bundle.f86e8419.js"></script></body>
</html>
1 change: 1 addition & 0 deletions src/card-input/card-input.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import performance from '../performance';
@performance()
class CardInput extends React.Component {
static propTypes = {
...Input.propTypes,
/** Подсказка в текстовом поле */
placeholder: Type.string
};
Expand Down
3 changes: 3 additions & 0 deletions src/email-input/email-input.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ import performance from '../performance';
@cn('email-input', Input)
@performance()
class EmailInput extends React.Component {
static propTypes = {
...Input.propTypes
};
/**
* @type {Input}
*/
Expand Down
1 change: 1 addition & 0 deletions src/money-input/money-input.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ function splitInteger(str) {
@performance()
class MoneyInput extends React.Component {
static propTypes = {
...Input.propTypes,
/** Максимально допустимая длина значения до запятой */
integerLength: Type.number,
/** Максимально допустимая длина значения после запятой */
Expand Down
1 change: 1 addition & 0 deletions src/phone-input/phone-input.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ import performance from '../performance';
@performance()
class PhoneInput extends React.Component {
static propTypes = {
...Input.propTypes,
/** Подсказка в текстовом поле */
placeholder: Type.string
};
Expand Down

0 comments on commit 8dace92

Please sign in to comment.