-
-
Notifications
You must be signed in to change notification settings - Fork 462
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
release v2.6.0 and better detail panel docs
- Loading branch information
1 parent
e5953b0
commit 3530073
Showing
38 changed files
with
5,739 additions
and
48 deletions.
There are no files selected for viewing
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
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
17 changes: 17 additions & 0 deletions
17
apps/material-react-table-docs/examples/enable-detail-panel-conditionally/index.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,17 @@ | ||
import { SourceCodeSnippet } from '../../components/mdx/SourceCodeSnippet'; | ||
import Example from './sandbox/src/TS'; | ||
const JS = require('!!raw-loader!./sandbox/src/JS.js').default; | ||
const TS = require('!!raw-loader!./sandbox/src/TS.tsx').default; | ||
|
||
const ExampleTable = () => { | ||
return ( | ||
<SourceCodeSnippet | ||
Component={Example} | ||
javaScriptCode={JS} | ||
typeScriptCode={TS} | ||
tableId="enable-detail-panel-conditionally" | ||
/> | ||
); | ||
}; | ||
|
||
export default ExampleTable; |
5 changes: 5 additions & 0 deletions
5
apps/material-react-table-docs/examples/enable-detail-panel-conditionally/sandbox/.gitignore
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,5 @@ | ||
node_modules | ||
.DS_Store | ||
dist | ||
dist-ssr | ||
*.local |
6 changes: 6 additions & 0 deletions
6
...l-react-table-docs/examples/enable-detail-panel-conditionally/sandbox/README.md
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,6 @@ | ||
# Example | ||
|
||
To run this example: | ||
|
||
- `npm install` or `yarn` | ||
- `npm run start` or `yarn start` |
13 changes: 13 additions & 0 deletions
13
apps/material-react-table-docs/examples/enable-detail-panel-conditionally/sandbox/index.html
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,13 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Material React Table Example</title> | ||
</head> | ||
|
||
<body> | ||
<div id="root"></div> | ||
<script type="module" src="/src/main.tsx"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.
3530073
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
material-react-table-storybook – ./
material-react-table-storybook-kevinvandy-s-team.vercel.app
material-react-table-storybook-git-v2-kevinvandy-s-team.vercel.app
material-react-table-storybook.vercel.app
www.material-react-table.dev
material-react-table.dev