Skip to content

Commit

Permalink
fix: ts typedef (#7665)
Browse files Browse the repository at this point in the history
  • Loading branch information
kingflamez authored Jan 30, 2025
1 parent 15fc448 commit 2307749
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/doc/inputotp/sampledoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,12 @@ export default function SampleDemo() {
`,
typescript: `
import React, { useState } from 'react';
import { InputOtp } from 'primereact/inputotp';
import { InputOtp, InputOtpProps } from 'primereact/inputotp';
import { Button } from 'primereact/button';
interface CustomInputProps extends InputHTMLAttributes<HTMLInputElement> {
events: any;
props: any;
interface CustomInputProps extends InputOtpProps {
events?: any;
props?: any;
}
export default function SampleDemo() {
Expand Down

0 comments on commit 2307749

Please sign in to comment.