mirror of
https://github.com/d0zingcat/nextjs-notion-starter-kit.git
synced 2026-05-13 15:09:47 +00:00
feat: update deps
This commit is contained in:
9
lib/get-page-tweet.ts
Normal file
9
lib/get-page-tweet.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import * as types from './types'
|
||||
import { getPageProperty } from 'notion-utils'
|
||||
|
||||
export function getPageTweet(
|
||||
block: types.Block,
|
||||
recordMap: types.ExtendedRecordMap
|
||||
): string | null {
|
||||
return getPageProperty('Tweet', block, recordMap)
|
||||
}
|
||||
Reference in New Issue
Block a user