Skip to content

Commit c64f5a0

Browse files
refactor: itemAs rename
1 parent a1f7e16 commit c64f5a0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/primereact/src/datepicker/root/DatePickerRoot.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const DatePickerRoot = withComponent({
1919
const { id, props: _props, ptmi, cx, state, changeVisibleState } = instance;
2020
const props = _props as DatePickerRootInternalProps;
2121

22-
const PopoverRoot = props.popoverRoot as React.ElementType<{
22+
const PopoverRoot = props.itemAs as React.ElementType<{
2323
children?: React.ReactNode;
2424
onOpenChange?: (event: { value: boolean }) => void;
2525
open?: boolean;

0 commit comments

Comments
 (0)