-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2156 from gluestack/feat/sidebar-apps
feat/sidebar-apps
- Loading branch information
Showing
7 changed files
with
496 additions
and
0 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
20 changes: 20 additions & 0 deletions
20
example/storybook-nativewind/src/apps/dashboard-app/Expand.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,20 @@ | ||
import React from 'react'; | ||
|
||
export const Expand = () => { | ||
return ( | ||
<svg | ||
width="40" | ||
height="40" | ||
viewBox="0 0 40 40" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<rect x="0.5" y="0.5" width="39" height="39" rx="19.5" fill="black" /> | ||
<path | ||
d="M27.235 21.234H12.765V24.728L8 19.964L12.765 15.199V18.693H27.235V15.199L32 19.964L27.235 24.729V21.234Z" | ||
fill="#FAFAFA" | ||
/> | ||
<rect x="0.5" y="0.5" width="39" height="39" rx="19.5" stroke="#525252" /> | ||
</svg> | ||
); | ||
}; |
19 changes: 19 additions & 0 deletions
19
example/storybook-nativewind/src/apps/dashboard-app/index.stories.mdx
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,19 @@ | ||
--- | ||
title: Dashboard App | gluestack-ui | ||
description: A dashboard app created using all the components of gluestack-ui styled with NativeWind | ||
toc: false | ||
--- | ||
|
||
import { Canvas, Meta, Story } from '@storybook/addon-docs'; | ||
import Responsiveness from '../../extra-components/nativewind/Responsive'; | ||
|
||
|
||
<Meta title="with-nativewind/Apps/Dashboard App" /> | ||
|
||
# Dashboard App | ||
|
||
This [Dashboard App](https://ui-example-nativewind.vercel.app/) is built using `@gluestack-ui` components styled with `NativeWind`. | ||
|
||
<Responsiveness /> | ||
|
||
GitHub link for this [Dashboard App](https://github.com/gluestack/ui-example-nativewind) |
20 changes: 20 additions & 0 deletions
20
example/storybook-nativewind/src/apps/starter-kit/Expand.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,20 @@ | ||
import React from 'react'; | ||
|
||
export const Expand = () => { | ||
return ( | ||
<svg | ||
width="40" | ||
height="40" | ||
viewBox="0 0 40 40" | ||
fill="none" | ||
xmlns="http://www.w3.org/2000/svg" | ||
> | ||
<rect x="0.5" y="0.5" width="39" height="39" rx="19.5" fill="black" /> | ||
<path | ||
d="M27.235 21.234H12.765V24.728L8 19.964L12.765 15.199V18.693H27.235V15.199L32 19.964L27.235 24.729V21.234Z" | ||
fill="#FAFAFA" | ||
/> | ||
<rect x="0.5" y="0.5" width="39" height="39" rx="19.5" stroke="#525252" /> | ||
</svg> | ||
); | ||
}; |
19 changes: 19 additions & 0 deletions
19
example/storybook-nativewind/src/apps/starter-kit/index.stories.mdx
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,19 @@ | ||
--- | ||
title: Starter Kit | gluestack-ui | ||
description: A dashboard app created using all the components of gluestack-ui styled with NativeWind | ||
toc: false | ||
--- | ||
|
||
import { Canvas, Meta, Story } from '@storybook/addon-docs'; | ||
import Responsiveness from '../../extra-components/nativewind/Responsive'; | ||
|
||
|
||
<Meta title="with-nativewind/Apps/Starter Kit" /> | ||
|
||
# Dashboard App | ||
|
||
This [Dashboard App](https://ui-example-nativewind.vercel.app/) is built using `@gluestack-ui` components styled with `NativeWind`. | ||
|
||
<Responsiveness /> | ||
|
||
GitHub link for this [Dashboard App](https://github.com/gluestack/ui-example-nativewind) |
Oops, something went wrong.