Skip to content

Commit

Permalink
fix: build issue
Browse files Browse the repository at this point in the history
  • Loading branch information
trevoring-okta committed Jan 26, 2024
1 parent 76dd117 commit 7c50d3d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/odyssey-react-mui/src/@types/react-augment.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* See the License for the specific language governing permissions and limitations under the License.
*/

import "react";
import { FC } from "react";
export interface ForwardRefWithType extends FC<WithForwardRefProps<Option>> {
<T extends Option>(props: WithForwardRefProps<T>): ReturnType<
FC<WithForwardRefProps<T>>
Expand All @@ -19,7 +19,7 @@ export interface ForwardRefWithType extends FC<WithForwardRefProps<Option>> {

type DataAttributeKey = `data-${string}`;
declare module "react" {
interface HTMLAttributes {
interface InputHTMLAttributes<T> extends HTMLAttributes<T> {
// Allows data-* props to be passed to inputProps in nested MUI components
// see: https://github.com/mui/material-ui/issues/20160
[dataAttribute: DataAttributeKey]: string | undefined;
Expand Down

0 comments on commit 7c50d3d

Please sign in to comment.