-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Docs poc with embedded stackblitz editor and component preview. Code …
…fragment has copy clip.
- Loading branch information
1 parent
87c4b55
commit 5749328
Showing
8 changed files
with
43 additions
and
17 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
# Bless UI Docs | ||
# Bless UI Docs |
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 { Input } from '@/components/ui' | ||
|
||
const DemoInput = () => { | ||
return ( | ||
/// [demo_input] | ||
<Input placeholder="Email" type="email" /> | ||
/// [demo_input] | ||
) | ||
} | ||
|
||
export function Demo() { | ||
return ( | ||
<div className="flex w-[600px] h-[200px] p-4 my-4"> | ||
<DemoInput /> | ||
</div> | ||
) | ||
} |
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 |
---|---|---|
@@ -1,5 +1,14 @@ | ||
# Input | ||
|
||
<!-- [input.tsx](examples/input.tsx ':include :type=code :fragment=demo_input') --> | ||
|
||
```tsx | ||
<TextField id="outlined-basic" label="Outlined" variant="outlined" /> | ||
<TextField id="filled-basic" label="Filled" variant="filled" /> | ||
<TextField id="standard-basic" label="Standard" variant="standard" /> | ||
``` | ||
|
||
<iframe src="https://stackblitz.com/edit/react-ctfd93?embed=1&file=Demo.tsx&hideExplorer=1&hideNavigation=1&view=editor" style="width:100%; height: 400px; border:0; border-radius: 4px; overflow:hidden;"></iframe> | ||
|
||
<iframe src="https://react-ctfd93.stackblitz.io" style="width:100%; height: 400px; border:0; border-radius: 4px; overflow:hidden;"></iframe> | ||
|
||
<iframe src="https://stackblitz.com/edit/react-starter-eval-dwegeb?embed=1&file=src%2FApp.js" style="width:100%; height: 400px; border:0; border-radius: 4px; overflow:hidden;"></iframe> |
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 |
---|---|---|
|
@@ -26,12 +26,18 @@ | |
noData: 'No Results!', | ||
depth: 6, | ||
hideOtherSidebarContent: false // whether or not to hide other sidebar content | ||
}, | ||
copyCode: { | ||
buttonText: 'Copy', | ||
errorText: 'Error', | ||
successText: 'Copied' | ||
} | ||
} | ||
</script> | ||
<!-- Docsify v4 --> | ||
<script src="//cdn.jsdelivr.net/npm/docsify@4"></script> | ||
<script src="//cdn.jsdelivr.net/npm/[email protected]/components/prism-jsx.min.js"></script> | ||
<script src="//cdn.jsdelivr.net/npm/[email protected]/components/prism-typescript.min.js"></script> | ||
<script src="https://unpkg.com/docsify-copy-code@2"></script> | ||
</body> | ||
</html> |
This file was deleted.
Oops, something went wrong.