Skip to content

Commit

Permalink
Set up experiments page
Browse files Browse the repository at this point in the history
  • Loading branch information
mj12albert committed Oct 6, 2023
1 parent 234fca6 commit fb9afbb
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions docs/pages/experiments/md3/inputs.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import * as React from 'react';
import Stack from '@mui/material/Stack';
import Md2FilledInput from '@mui/material/FilledInput';
import { ThemeProvider, createTheme } from '@mui/material/styles';
import FilledInput from '@mui/material-next/FilledInput';
import { CssVarsProvider, extendTheme } from '@mui/material-next/styles';

const md2Theme = createTheme();

const md3Theme = extendTheme();

export default function MaterialYouInputs() {
return (
<Stack spacing={4}>
<ThemeProvider theme={md2Theme}>
<pre>MD2</pre>
<Stack display="inline-flex" direction="row" gap={4}>
<Md2FilledInput defaultValue="primary" color="primary" />
<Md2FilledInput defaultValue="secondary" color="secondary" />
</Stack>
</ThemeProvider>
<CssVarsProvider theme={md3Theme}>
<pre>MD3</pre>
<Stack display="inline-flex" direction="row" gap={4}>
<FilledInput defaultValue="primary" color="primary" />
<FilledInput defaultValue="secondary" color="secondary" />
</Stack>
</CssVarsProvider>
</Stack>
);
}

0 comments on commit fb9afbb

Please sign in to comment.