Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tinacms): added a default MediaManager screen
- Loading branch information
1 parent
3df3c55
commit dc33594
Showing
2 changed files
with
14 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
packages/tinacms/src/plugins/screens/media-manager-screen.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,12 @@ | ||
import { Folder } from '@tinacms/icons' | ||
import { ScreenPlugin } from '@tinacms/react-screens' | ||
import { MediaPicker } from '../../components/media-manager' | ||
|
||
export const MediaManagerScreenPlugin: ScreenPlugin = { | ||
__type: 'screen', | ||
name: 'Media Manager', | ||
Component: MediaPicker, | ||
// TODO: New Icon with a landscape | ||
Icon: Folder, | ||
layout: 'fullscreen', | ||
} |
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