-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d9827f7
commit d3d8dce
Showing
3 changed files
with
66 additions
and
2 deletions.
There are no files selected for viewing
27 changes: 26 additions & 1 deletion
27
apps/frontend/src/components/launches/providers/facebook/facebook.provider.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 |
---|---|---|
@@ -1,3 +1,28 @@ | ||
import { FC } from 'react'; | ||
import { withProvider } from '@gitroom/frontend/components/launches/providers/high.order.provider'; | ||
import { useSettings } from '@gitroom/frontend/components/launches/helpers/use.values'; | ||
import { MediaComponent } from '@gitroom/frontend/components/media/media.component'; | ||
|
||
export default withProvider(null, undefined, undefined, undefined, 63206); | ||
const FacebookSettings: FC = () => { | ||
const { register } = useSettings(); | ||
return ( | ||
<div className="mt-[20px]"> | ||
<MediaComponent | ||
type="image" | ||
width={1280} | ||
height={720} | ||
label="Video Thumbnail" | ||
description="Thumbnail for video posts (optional)" | ||
{...register('thumbnail')} | ||
/> | ||
</div> | ||
); | ||
}; | ||
|
||
export default withProvider( | ||
FacebookSettings, | ||
undefined, | ||
undefined, | ||
undefined, | ||
63206 | ||
); |
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