Skip to content

Commit

Permalink
Rm old file and fancy props type.
Browse files Browse the repository at this point in the history
  • Loading branch information
margolisj committed Sep 5, 2023
1 parent b47d32d commit 3d08494
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 24 deletions.
22 changes: 0 additions & 22 deletions packages/components/src/focusable-iframe/index.js

This file was deleted.

9 changes: 7 additions & 2 deletions packages/components/src/focusable-iframe/types.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
export interface FocusableIframeProps {
/**
* External dependencies
*/
import type { ComponentPropsWithoutRef } from 'react';

export interface FocusableIframeProps
extends ComponentPropsWithoutRef< 'iframe' > {
iframeRef: React.Ref< HTMLIFrameElement >;
props: any;
}

0 comments on commit 3d08494

Please sign in to comment.