Web:Components: Fixed propTypes.
This commit is contained in:
parent
60f6c47956
commit
4a829548c0
@ -37,7 +37,14 @@ Button.propTypes = {
|
||||
/** Size of button.
|
||||
|
||||
The normal size equals 36px and 40px in height on the Desktop and Touchcreen devices. */
|
||||
size: PropTypes.oneOf(["extraSmall", "small", "normal", "medium"]),
|
||||
size: PropTypes.oneOf([
|
||||
"extraSmall",
|
||||
"small",
|
||||
"normal",
|
||||
"medium",
|
||||
"normalDesktop",
|
||||
"normalTouchscreen",
|
||||
]),
|
||||
/** Scale width of button to 100% */
|
||||
scale: PropTypes.bool,
|
||||
/** Icon node element */
|
||||
|
Loading…
Reference in New Issue
Block a user