Skip to content

Commit

Permalink
feat(datepicker): support custom className and pass it to SUI's input (
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurdenner committed Aug 11, 2020
1 parent 8f36480 commit f4f2c11
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ More examples [here](https://react-semantic-ui-datepickers.now.sh).
### Form.Input Props

- autoComplete
- className
- disabled
- error
- iconPosition
Expand Down
1 change: 1 addition & 0 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ const style: React.CSSProperties = {
};
const semanticInputProps = [
'autoComplete',
'className',
'clearIcon',
'disabled',
'error',
Expand Down
1 change: 1 addition & 0 deletions src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ export type PickedDayzedProps = Pick<

export type PickedFormInputProps = Pick<
FormInputProps,
| 'className'
| 'disabled'
| 'error'
| 'iconPosition'
Expand Down

1 comment on commit f4f2c11

@vercel
Copy link

@vercel vercel bot commented on f4f2c11 Aug 11, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.