Skip to content

Commit

Permalink
New updates
Browse files Browse the repository at this point in the history
  • Loading branch information
Satyam-code143 authored and Satyam-code143 committed Feb 24, 2022
1 parent 8491bc8 commit 5897b41
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-litepicker-2",
"version": "1.0.0",
"version": "1.0.1",
"description": "react wrapper of lightpicker",
"author": "Satyam-code143",
"license": "MIT",
Expand Down
4 changes: 2 additions & 2 deletions src/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ export interface LitePickerPropsWithoutRanges {
export type LitePickerProps = LitePickerBaseProps &
(LitePickerPropsWithRanges | LitePickerPropsWithoutRanges)

const LP = React.forwardRef<typeof Litepicker, LitePickerProps>(
const LitePicker = React.forwardRef<typeof Litepicker, LitePickerProps>(
(options: LitePickerProps, ref) => {
const {
string: applyString,
Expand Down Expand Up @@ -189,4 +189,4 @@ function useStringAndPortal(
}, [id, node])
}

export default LP
export default LitePicker

0 comments on commit 5897b41

Please sign in to comment.