Skip to content

Commit

Permalink
convert to ts files
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova committed Mar 13, 2024
1 parent ac77274 commit b385978
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import slotShouldForwardProp from './slotShouldForwardProp';

const rootShouldForwardProp = (prop) => slotShouldForwardProp(prop) && prop !== 'classes';
const rootShouldForwardProp = (prop: string) => slotShouldForwardProp(prop) && prop !== 'classes';

export default rootShouldForwardProp;

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
// copied from @mui/system/createStyled
function slotShouldForwardProp(prop) {
function slotShouldForwardProp(prop: string) {
return prop !== 'ownerState' && prop !== 'theme' && prop !== 'sx' && prop !== 'as';
}

Expand Down

0 comments on commit b385978

Please sign in to comment.