-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
115 additions
and
7 deletions.
There are no files selected for viewing
51 changes: 51 additions & 0 deletions
51
apps/pigment-next-app/src/app/material-ui/react-modal/page.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
'use client'; | ||
import * as React from 'react'; | ||
import BasicModal from '../../../../../../docs/data/material/components/modal/BasicModal'; | ||
import KeepMountedModal from '../../../../../../docs/data/material/components/modal/KeepMountedModal'; | ||
import NestedModal from '../../../../../../docs/data/material/components/modal/NestedModal'; | ||
import ServerModal from '../../../../../../docs/data/material/components/modal/ServerModal'; | ||
import SpringModal from '../../../../../../docs/data/material/components/modal/SpringModal'; | ||
import TransitionsModal from '../../../../../../docs/data/material/components/modal/TransitionsModal'; | ||
|
||
export default function Modal() { | ||
return ( | ||
<React.Fragment> | ||
<section> | ||
<h2> Basic Modal</h2> | ||
<div className="demo-container"> | ||
<BasicModal /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Keep Mounted Modal</h2> | ||
<div className="demo-container"> | ||
<KeepMountedModal /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Nested Modal</h2> | ||
<div className="demo-container"> | ||
<NestedModal /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Server Modal</h2> | ||
<div className="demo-container"> | ||
<ServerModal /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Spring Modal</h2> | ||
<div className="demo-container"> | ||
<SpringModal /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Transitions Modal</h2> | ||
<div className="demo-container"> | ||
<TransitionsModal /> | ||
</div> | ||
</section> | ||
</React.Fragment> | ||
); | ||
} |
52 changes: 52 additions & 0 deletions
52
apps/pigment-vite-app/src/pages/material-ui/react-modal.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
import * as React from 'react'; | ||
import MaterialUILayout from '../../Layout'; | ||
import BasicModal from '../../../../../docs/data/material/components/modal/BasicModal.tsx'; | ||
import KeepMountedModal from '../../../../../docs/data/material/components/modal/KeepMountedModal.tsx'; | ||
import NestedModal from '../../../../../docs/data/material/components/modal/NestedModal.tsx'; | ||
import ServerModal from '../../../../../docs/data/material/components/modal/ServerModal.tsx'; | ||
import SpringModal from '../../../../../docs/data/material/components/modal/SpringModal.tsx'; | ||
import TransitionsModal from '../../../../../docs/data/material/components/modal/TransitionsModal.tsx'; | ||
|
||
export default function Modal() { | ||
return ( | ||
<MaterialUILayout> | ||
<h1>Modal</h1> | ||
<section> | ||
<h2> Basic Modal</h2> | ||
<div className="demo-container"> | ||
<BasicModal /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Keep Mounted Modal</h2> | ||
<div className="demo-container"> | ||
<KeepMountedModal /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Nested Modal</h2> | ||
<div className="demo-container"> | ||
<NestedModal /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Server Modal</h2> | ||
<div className="demo-container"> | ||
<ServerModal /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Spring Modal</h2> | ||
<div className="demo-container"> | ||
<SpringModal /> | ||
</div> | ||
</section> | ||
<section> | ||
<h2> Transitions Modal</h2> | ||
<div className="demo-container"> | ||
<TransitionsModal /> | ||
</div> | ||
</section> | ||
</MaterialUILayout> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters