Skip to content

Commit

Permalink
Implement RSC support
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Jul 21, 2023
1 parent 162db57 commit c1a58a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DateInput.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use client';

import React, { useEffect, useRef, useState } from 'react';
import PropTypes from 'prop-types';
import { getYear, getMonthHuman, getDate } from '@wojtekmaj/date-utils';
Expand Down
2 changes: 2 additions & 0 deletions src/DatePicker.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
'use client';

import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';
import { createPortal } from 'react-dom';
import PropTypes from 'prop-types';
Expand Down

0 comments on commit c1a58a8

Please sign in to comment.