Skip to content

Commit

Permalink
convert to ts
Browse files Browse the repository at this point in the history
  • Loading branch information
mnajdova committed Nov 14, 2024
1 parent b304f1c commit c36cdc9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions packages/mui-material/src/Header/Header.module.css.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export const root: string;
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import classes from './Header.module.css';

const HeaderRoot = styled('h1')({});

function Header(props) {
function Header(props: React.ComponentPropsWithRef<'h1'>) {
return <HeaderRoot {...props} className={clsx('MuiHeader-root', classes.root, props.className)} />;
}

Expand Down
File renamed without changes.
4 changes: 2 additions & 2 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit c36cdc9

Please sign in to comment.