Skip to content

Commit

Permalink
feat #3 - Update interface for InputFieldProps
Browse files Browse the repository at this point in the history
  • Loading branch information
github-actions committed Aug 20, 2020
1 parent fdc56e4 commit 247a051
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/components/InputField/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,6 @@ const InputFieldSkeleton: FC<InputFieldProps> = (props: InputFieldProps) => {
)
}

export type InputType = 'text' | 'password'

export interface InputFieldProps {
/**
* Array of classes to pass to button.
Expand Down Expand Up @@ -106,7 +104,7 @@ export interface InputFieldProps {
* Type of input (ex: text, password)
* @default text
*/
type?: InputType
type?: 'text' | 'password'
/**
* Input content value for controlled inputs. Requires an onChange to be passed
*/
Expand Down

0 comments on commit 247a051

Please sign in to comment.