Skip to content

Commit

Permalink
[media-library] add doc comments in source, correct types (expo#13936)
Browse files Browse the repository at this point in the history
  • Loading branch information
Simek authored and Felipe committed Sep 18, 2021
1 parent 6c1f03a commit f210b39
Show file tree
Hide file tree
Showing 12 changed files with 892 additions and 438 deletions.
3 changes: 2 additions & 1 deletion docs/components/plugins/APISection.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ const isHook = ({ name }: GeneratedData) =>
// note(simek): hardcode this exception until the method will be renamed
name !== 'useSystemBrightnessAsync';

const isListener = ({ name }: GeneratedData) => name.endsWith('Listener');
const isListener = ({ name }: GeneratedData) =>
name.endsWith('Listener') || name.endsWith('Listeners');

const isProp = ({ name }: GeneratedData) => name.includes('Props') && name !== 'ErrorRecoveryProps';

Expand Down
348 changes: 2 additions & 346 deletions docs/pages/versions/unversioned/sdk/media-library.md

Large diffs are not rendered by default.

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions packages/expo-media-library/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
### 💡 Others

- Migrated from `@unimodules/core` to `expo-modules-core`. ([#13755](https://github.com/expo/expo/pull/13755) by [@tsapeta](https://github.com/tsapeta))
- Added `AlbumType` and `MediaSubtype` types, added missing `orientation` key to the `Asset` type. ([#13936](https://github.com/expo/expo/pull/13936) by [@Simek](https://github.com/Simek))

## 12.1.0 — 2021-06-16

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f210b39

Please sign in to comment.