aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/docs/pages/another.mdx
diff options
context:
space:
mode:
Diffstat (limited to 'docs/pages/another.mdx')
-rw-r--r--docs/pages/another.mdx31
1 files changed, 0 insertions, 31 deletions
diff --git a/docs/pages/another.mdx b/docs/pages/another.mdx
deleted file mode 100644
index 7fb6a02..0000000
--- a/docs/pages/another.mdx
+++ /dev/null
@@ -1,31 +0,0 @@
-# Another Page
-
-```js filename="demo.js" {3} copy
-let a = 1;
-
-console.log(a);
-```
-
-## Component
-
-import { useState } from 'react'
-
-{/* Import CSS modules */}
-import styles from '../components/counters.module.css'
-
-export const Counter = () => {
- const [count, setCount] = useState(0);
- return (
- <div>
- <button onClick={() => setCount(count + 1)} className={styles.counter}>Clicked {count} times</button>
- </div>
- );
-};
-
-<Counter/>
-
-## External Component
-
-import Counters from '../components/counters'
-
-<Counters />