From 0f9824fa492fc89f2dc329214a1811247d8e215f Mon Sep 17 00:00:00 2001 From: Jose Leandro Torres Date: Fri, 25 Sep 2020 09:57:35 -0500 Subject: [PATCH] fix: label alignment prop in input set as optional (#1862) --- package.json | 2 +- src/components/Input/index.d.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index b99503e5a..3a5c28307 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-rainbow-components", - "version": "1.18.0", + "version": "1.18.1", "description": "React Rainbow Components", "keywords": [ "react", diff --git a/src/components/Input/index.d.ts b/src/components/Input/index.d.ts index 7e1a7f42b..1a14d3eeb 100644 --- a/src/components/Input/index.d.ts +++ b/src/components/Input/index.d.ts @@ -31,7 +31,7 @@ export interface InputProps extends BaseProps { name?: string; type?: InputType; label?: ReactNode; - labelAlignment: labelAlignment; + labelAlignment?: labelAlignment; hideLabel?: boolean; placeholder?: string; icon?: ReactNode;