Skip to content

Commit

Permalink
fix: no more using SFC types
Browse files Browse the repository at this point in the history
  • Loading branch information
theKashey committed May 1, 2022
1 parent 5141a18 commit ca9e5e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion UI/UI.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {ReactFocusLockProps, AutoFocusProps, FreeFocusProps, InFocusGuardProps}
/**
* Traps Focus inside a Lock
*/
declare const ReactFocusLock: React.FC<ReactFocusLockProps & { sideCar: React.SFC<any> }>;
declare const ReactFocusLock: React.FC<ReactFocusLockProps & { sideCar: React.FC<any> }>;

export default ReactFocusLock;

Expand Down
2 changes: 1 addition & 1 deletion sidecar/sidecar.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as React from 'react';

declare var sidecar: React.SFC;
declare var sidecar: React.FC;

export default sidecar;

0 comments on commit ca9e5e8

Please sign in to comment.