From d7b2af5cb76290535e5730ea19a2339dfa1d5cd1 Mon Sep 17 00:00:00 2001 From: Tobias Date: Thu, 17 Jan 2019 08:50:59 +0100 Subject: [PATCH] fix: make sure we use a small button inside a input --- packages/dnb-ui-lib/src/components/button/Button.js | 2 +- packages/dnb-ui-lib/src/components/input/Input.js | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/dnb-ui-lib/src/components/button/Button.js b/packages/dnb-ui-lib/src/components/button/Button.js index 74ec68b1eee..3f50c56a331 100644 --- a/packages/dnb-ui-lib/src/components/button/Button.js +++ b/packages/dnb-ui-lib/src/components/button/Button.js @@ -25,7 +25,7 @@ export const propTypes = { type: PropTypes.string, title: PropTypes.string, variant: PropTypes.oneOf(['primary', 'secondary', 'tertiary', 'signal']), - size: PropTypes.oneOf(['medium', 'default', 'large']), + size: PropTypes.oneOf(['default', 'small', 'medium', 'large']), icon: PropTypes.oneOfType([ PropTypes.string, PropTypes.node, diff --git a/packages/dnb-ui-lib/src/components/input/Input.js b/packages/dnb-ui-lib/src/components/input/Input.js index 0a144596830..4b5a666017e 100644 --- a/packages/dnb-ui-lib/src/components/input/Input.js +++ b/packages/dnb-ui-lib/src/components/input/Input.js @@ -375,10 +375,11 @@ class Submit extends PureComponent {