Skip to content

Commit 7a1a841

Browse files
committed
✨ feat: add showcase on document
1 parent 752a249 commit 7a1a841

File tree

8 files changed

+941
-943
lines changed

8 files changed

+941
-943
lines changed

README.md

Lines changed: 32 additions & 134 deletions
Original file line numberDiff line numberDiff line change
@@ -16,20 +16,30 @@ React Native Multiple Image Picker **(RNMIP)** enables application to pick image
1616

1717
## Features 🔥
1818

19-
| 🤩 | ![Logo][Logo] |
20-
| --- | --------------------------------------------------------------------------------- |
19+
| 🤩 | ![Logo][Logo] |
20+
| --- | ------------------------------------------------------------------------------------- |
2121
| 🍕 | [**Crop**](/docs/docs/CROP.mdx) single/multiple image. |
2222
| 🎑 | [**Preview**](/docs/docs/PREVIEW.mdx) image/video. |
2323
| 📸 | [**Camera**](/docs/docs/CAMERA.mdx) module for capturing photos and recording videos. |
24-
| 🐳 | Keep the previous selection. |
25-
| 0️⃣ | Selected order index. |
26-
| 🎨 | UI Customization (numberOfColumn, spacing, primaryColor ... ) |
27-
| 🌚 | Dark Mode, Light Mode |
28-
| 🌄 | Choose multiple images/video. |
29-
| 📦 | Support smart album `(camera roll, selfies, panoramas, favorites, videos...)`. |
30-
| 📺 | Display video duration. |
31-
| ⛅️ | Support iCloud Photo Library. |
32-
| 🌪 | Scrolling performance. ☕️ |
24+
| 🐳 | Keep the previous selection. |
25+
| 0️⃣ | Selected order index. |
26+
| 🎨 | UI Customization (numberOfColumn, spacing, primaryColor ... ) |
27+
| 🌚 | Dark Mode, Light Mode |
28+
| 🌄 | Choose multiple images/video. |
29+
| 📦 | Support smart album `(camera roll, selfies, panoramas, favorites, videos...)`. |
30+
| 📺 | Display video duration. |
31+
| ⛅️ | Support iCloud Photo Library. |
32+
| 🌪 | Scrolling performance. ☕️ |
33+
34+
## Requirements
35+
36+
Because RNMIP uses Nitro Module, it complies with Nitro Modules' requirements.
37+
View Nitro Modules' requirements [here](https://nitro.margelo.com/docs/minimum-requirements)
38+
39+
- `Xcode` 16+
40+
- `iOS` 13+
41+
- `react-native` 0.75+
42+
- `compileSdkVersion` 34+
3343

3444
## Installation
3545

@@ -80,7 +90,7 @@ const onPicker = async () => {
8090
- [x] Dynamic Language
8191
- [x] Open Crop Controller.
8292
- [x] Open Preview Controller.
83-
- [ ] Open Camera Controller.
93+
- [x] Open Camera Controller.
8494

8595
## Sponsor & Support ☕️
8696

@@ -98,133 +108,21 @@ To keep this library maintained and up-to-date please consider [sponsoring it on
98108

99109
[![Star History Chart](https://api.star-history.com/svg?repos=baronha/react-native-multiple-image-picker&type=Date)](https://star-history.com/#bytebase/star-history&Date)
100110

111+
## Showcase ✨
112+
113+
List of used applications with `@baronha/react-native-multiple-image-picker`
114+
115+
Contributions are welcome! If you have an application that uses `@baronha/react-native-multiple-image-picker`, please open a [pull request](/docs/docs/SHOWCASE/showcase.json) to add it to the list.
116+
117+
See all [**Showcase**](https://baronha.github.io/react-native-multiple-image-picker/showcase)
118+
119+
120+
101121
## Performance
102122

103123
We're trying to improve performance. If you have a better solution, please open a [issue](https://github.com/baronha/react-native-multiple-image-picker/issues)
104124
or [pull request](https://github.com/baronha/react-native-multiple-image-picker/pulls). Best regards!
105125

106-
## Contributors ✨
107-
108-
Thanks go to these wonderful people:
109-
110-
<!-- readme: collaborators,contributors -start -->
111-
<table>
112-
<tbody>
113-
<tr>
114-
<td align="center">
115-
<a href="https://github.com/baronha">
116-
<img src="https://avatars.githubusercontent.com/u/23580920?v=4" width="100;" alt="baronha"/>
117-
<br />
118-
<sub><b>Bảo Hà.</b></sub>
119-
</a>
120-
</td>
121-
<td align="center">
122-
<a href="https://github.com/itsnyx">
123-
<img src="https://avatars.githubusercontent.com/u/74738973?v=4" width="100;" alt="itsnyx"/>
124-
<br />
125-
<sub><b>Alireza</b></sub>
126-
</a>
127-
</td>
128-
<td align="center">
129-
<a href="https://github.com/pnthach95">
130-
<img src="https://avatars.githubusercontent.com/u/31266357?v=4" width="100;" alt="pnthach95"/>
131-
<br />
132-
<sub><b>Phạm Ngọc Thạch</b></sub>
133-
</a>
134-
</td>
135-
<td align="center">
136-
<a href="https://github.com/crockalet">
137-
<img src="https://avatars.githubusercontent.com/u/60240500?v=4" width="100;" alt="crockalet"/>
138-
<br />
139-
<sub><b>crockalet</b></sub>
140-
</a>
141-
</td>
142-
<td align="center">
143-
<a href="https://github.com/denisbevilacqua">
144-
<img src="https://avatars.githubusercontent.com/u/8768794?v=4" width="100;" alt="denisbevilacqua"/>
145-
<br />
146-
<sub><b>Denis Bevilacqua</b></sub>
147-
</a>
148-
</td>
149-
<td align="center">
150-
<a href="https://github.com/cd-butterfly">
151-
<img src="https://avatars.githubusercontent.com/u/6622823?v=4" width="100;" alt="cd-butterfly"/>
152-
<br />
153-
<sub><b>cd-butterfly</b></sub>
154-
</a>
155-
</td>
156-
</tr>
157-
<tr>
158-
<td align="center">
159-
<a href="https://github.com/ctrleffive">
160-
<img src="https://avatars.githubusercontent.com/u/35224957?v=4" width="100;" alt="ctrleffive"/>
161-
<br />
162-
<sub><b>Chandu J S</b></sub>
163-
</a>
164-
</td>
165-
<td align="center">
166-
<a href="https://github.com/jeongshin">
167-
<img src="https://avatars.githubusercontent.com/u/64301935?v=4" width="100;" alt="jeongshin"/>
168-
<br />
169-
<sub><b>Huckleberry</b></sub>
170-
</a>
171-
</td>
172-
<td align="center">
173-
<a href="https://github.com/shafiqjefri">
174-
<img src="https://avatars.githubusercontent.com/u/126740667?v=4" width="100;" alt="shafiqjefri"/>
175-
<br />
176-
<sub><b>shafiqjefri</b></sub>
177-
</a>
178-
</td>
179-
<td align="center">
180-
<a href="https://github.com/rxdsrex">
181-
<img src="https://avatars.githubusercontent.com/u/21159505?v=4" width="100;" alt="rxdsrex"/>
182-
<br />
183-
<sub><b>Rajnarayan Dutta</b></sub>
184-
</a>
185-
</td>
186-
<td align="center">
187-
<a href="https://github.com/vivianlys90">
188-
<img src="https://avatars.githubusercontent.com/u/22317616?v=4" width="100;" alt="vivianlys90"/>
189-
<br />
190-
<sub><b>vivianLee</b></sub>
191-
</a>
192-
</td>
193-
<td align="center">
194-
<a href="https://github.com/ymane">
195-
<img src="https://avatars.githubusercontent.com/u/22021856?v=4" width="100;" alt="ymane"/>
196-
<br />
197-
<sub><b>Yogesh Mane</b></sub>
198-
</a>
199-
</td>
200-
</tr>
201-
<tr>
202-
<td align="center">
203-
<a href="https://github.com/ouabing">
204-
<img src="https://avatars.githubusercontent.com/u/1430376?v=4" width="100;" alt="ouabing"/>
205-
<br />
206-
<sub><b>abing</b></sub>
207-
</a>
208-
</td>
209-
<td align="center">
210-
<a href="https://github.com/hieuphan1030">
211-
<img src="https://avatars.githubusercontent.com/u/108206954?v=4" width="100;" alt="hieuphan1030"/>
212-
<br />
213-
<sub><b>hieuphan1030</b></sub>
214-
</a>
215-
</td>
216-
<td align="center">
217-
<a href="https://github.com/tuanngocptn">
218-
<img src="https://avatars.githubusercontent.com/u/22292704?v=4" width="100;" alt="tuanngocptn"/>
219-
<br />
220-
<sub><b>Nick - Ngoc Pham</b></sub>
221-
</a>
222-
</td>
223-
</tr>
224-
<tbody>
225-
</table>
226-
<!-- readme: collaborators,contributors -end -->
227-
228126
## License
229127

230128
MIT

docs/docs/GETTING_STARTED.mdx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ Install [@baronha/react-native-multiple-image-picker](https://www.npmjs.com/pack
4949
<TabItem value="rn">
5050

5151
```bash
52-
yarn add @baronha/react-native-multiple-image-picker react-native-nitro-modules
52+
yarn add @baronha/react-native-multiple-image-picker
53+
yarn add -D react-native-nitro-modules@0.18.2
5354
cd ios && pod install
5455
```
5556

@@ -58,7 +59,9 @@ cd ios && pod install
5859
<TabItem value="expo">
5960

6061
```bash
61-
npx expo install @baronha/react-native-multiple-image-picker react-native-nitro-modules
62+
npx expo install @baronha/react-native-multiple-image-picker
63+
npx expo install react-native-nitro-modules@0.18.2 -- --dev
64+
npx expo prebuild
6265
```
6366

6467
</TabItem>

docs/docs/SHOWCASE.mdx

Lines changed: 0 additions & 7 deletions
This file was deleted.

docs/docs/SHOWCASE/index.mdx

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
---
2+
id: showcase
3+
title: Showcase ✨
4+
sidebar_label: Showcase ✨
5+
slug: /showcase
6+
---
7+
8+
import style from './showcase.css'
9+
import data from './showcase.json'
10+
11+
List of used applications with `@baronha/react-native-multiple-image-picker`
12+
13+
> Contributions are welcome! If you have an application that uses `@baronha/react-native-multiple-image-picker`<br/>
14+
> please open a [**Pull Request**](https://github.com/baronha/react-native-multiple-image-picker/tree/master/docs/docs/SHOWCASE/data.json) to add it to the list.
15+
16+
<br />
17+
18+
<div className="showcaseContainer">
19+
{data.map((item, index) => {
20+
return (
21+
<a
22+
key={`showcase-${index}`}
23+
href={item.link}
24+
target="_blank"
25+
className="showcaseItem"
26+
>
27+
<img src={item.banner} alt={item.title} />
28+
<b>{item.title}</b>
29+
<p className="showcaseTagline">{item?.tagline}</p>
30+
</a>
31+
)
32+
})}
33+
</div>

docs/docs/SHOWCASE/showcase.css

Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
.showcaseContainer {
2+
display: flex;
3+
/* justify-content: space-between; */
4+
flex-wrap: wrap;
5+
gap: 24px;
6+
}
7+
8+
.showcaseItem {
9+
flex: 1;
10+
color: inherit;
11+
text-decoration: none;
12+
}
13+
14+
.showcaseItem a:hover {
15+
color: red;
16+
text-decoration: none !important;
17+
}
18+
19+
.showcaseItem b {
20+
font-size: 1rem;
21+
22+
}
23+
24+
.showcaseItem .showcaseTagline {
25+
display: -webkit-box;
26+
-webkit-line-clamp: 2;
27+
-webkit-box-orient: vertical;
28+
overflow: hidden;
29+
text-overflow: ellipsis;
30+
margin: 0;
31+
}
32+
33+
@media (max-width: 768px) {
34+
.showcaseItem {
35+
flex: 100%;
36+
margin-right: 0;
37+
}
38+
}
39+
40+
@media (min-width: 992px) {
41+
/* lg */
42+
.showcaseItem {
43+
44+
max-width: 33.333%;
45+
}
46+
}
47+
48+
@media (min-width: 1200px) {
49+
/* xl */
50+
.showcaseItem {
51+
52+
max-width: 33.333%;
53+
}
54+
}
55+
56+
@media (min-width: 1400px) {
57+
/* xxl */
58+
.showcaseItem {
59+
60+
max-width: 33.333%;
61+
}
62+
}
63+
64+
@media (max-width: 480px) {
65+
.showcaseItem {
66+
flex: 100%;
67+
}
68+
}

docs/docs/SHOWCASE/showcase.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
[
2+
{
3+
"banner": "https://github.com/user-attachments/assets/84ec6432-1557-4649-965c-6100d9c4c12d",
4+
"title": "✨ Binsoo - Photo Filters & Editor",
5+
"link": "https://apps.apple.com/vn/app/binsoo-photo-filters-editor/id6502683720",
6+
"tagline": "Endless aesthetics and effects"
7+
}
8+
]

example/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
},
1515
"dependencies": {
1616
"@baronha/react-native-image-grid": "^0.2.7",
17+
"@baronha/react-native-multiple-image-picker": "^2.1.1",
1718
"@react-native-segmented-control/segmented-control": "2.5.2",
1819
"expo": "~51.0.38",
1920
"expo-build-properties": "^0.12.5",

0 commit comments

Comments
 (0)