index int64 0 0 | repo_id stringlengths 16 181 | file_path stringlengths 28 270 | content stringlengths 1 11.6M | __index_level_0__ int64 0 10k |
|---|---|---|---|---|
0 | petrpan-code/NotionX/react-notion-x/packages/notion-utils | petrpan-code/NotionX/react-notion-x/packages/notion-utils/src/is-url.ts | import isUrl from 'is-url-superb'
export { isUrl }
| 1,300 |
0 | petrpan-code/NotionX/react-notion-x/packages/notion-utils | petrpan-code/NotionX/react-notion-x/packages/notion-utils/src/merge-record-maps.ts | import { ExtendedRecordMap } from 'notion-types'
export function mergeRecordMaps(
recordMapA: ExtendedRecordMap,
recordMapB: ExtendedRecordMap
): ExtendedRecordMap {
const mergedRecordMap: ExtendedRecordMap = {
block: {
...recordMapA.block,
...recordMapB.block
},
collection: {
...re... | 1,301 |
0 | petrpan-code/NotionX/react-notion-x/packages/notion-utils | petrpan-code/NotionX/react-notion-x/packages/notion-utils/src/normalize-title.ts | export const normalizeTitle = (title?: string | null): string => {
return (title || '')
.replace(/ /g, '-')
.replace(
/[^a-zA-Z0-9-\u4e00-\u9FFF\u3041-\u3096\u30A1-\u30FC\u3000-\u303F]/g,
''
)
.replace(/--/g, '-')
.replace(/-$/, '')
.replace(/^-/, '')
.trim()
.toLowerCase()... | 1,302 |
0 | petrpan-code/NotionX/react-notion-x/packages/notion-utils | petrpan-code/NotionX/react-notion-x/packages/notion-utils/src/normalize-url.test.ts | import test from 'ava'
import { normalizeUrl } from './normalize-url'
test('normalizeUrl invalid', (t) => {
t.is(normalizeUrl(), '')
t.is(normalizeUrl(''), '')
t.is(normalizeUrl('#'), '')
t.is(normalizeUrl('#foo'), '')
t.is(normalizeUrl('/foo'), '')
t.is(normalizeUrl('/foo/bar'), '')
t.is(normalizeUrl('... | 1,303 |
0 | petrpan-code/NotionX/react-notion-x/packages/notion-utils | petrpan-code/NotionX/react-notion-x/packages/notion-utils/src/normalize-url.ts | import mem from 'mem'
import normalizeUrlImpl from 'normalize-url'
export const normalizeUrl = mem((url?: string) => {
if (!url) {
return ''
}
try {
if (url.startsWith('https://www.notion.so/image/')) {
const u = new URL(url)
const subUrl = decodeURIComponent(u.pathname.substr('/image/'.leng... | 1,304 |
0 | petrpan-code/NotionX/react-notion-x/packages/notion-utils | petrpan-code/NotionX/react-notion-x/packages/notion-utils/src/parse-page-id.test.ts | import test from 'ava'
import { parsePageId } from './parse-page-id'
const pageIdFixturesSuccess = [
'267c0d1f1df8457f9b5c8f7efca16d83',
'Twitter-Automation-Tool-267c0d1f1df8457f9b5c8f7efca16d83',
'www.notion.so/saasifysh/Twitter-Automation-Tool-267c0d1f1df8457f9b5c8f7efca16d83',
'www.notion.so/saasifysh/Twit... | 1,305 |
0 | petrpan-code/NotionX/react-notion-x/packages/notion-utils | petrpan-code/NotionX/react-notion-x/packages/notion-utils/src/parse-page-id.ts | import { idToUuid } from './id-to-uuid'
const pageIdRe = /\b([a-f0-9]{32})\b/
const pageId2Re =
/\b([a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12})\b/
/**
* Robustly extracts the notion page ID from a notion URL or pathname suffix.
*
* Defaults to returning a UUID (with dashes).
*/
export const pa... | 1,306 |
0 | petrpan-code/NotionX/react-notion-x/packages/notion-utils | petrpan-code/NotionX/react-notion-x/packages/notion-utils/src/uuid-to-id.ts | export const uuidToId = (uuid: string) => uuid.replace(/-/g, '')
| 1,307 |
0 | petrpan-code/NotionX/react-notion-x/packages | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/package.json | {
"name": "react-notion-x",
"version": "6.16.1",
"type": "module",
"description": "Fast and accurate React renderer for Notion.",
"repository": "NotionX/react-notion-x",
"author": "Travis Fischer <travis@transitivebullsh.it>",
"license": "MIT",
"main": "./build/index.js",
"module": "./build/index.js",... | 1,308 |
0 | petrpan-code/NotionX/react-notion-x/packages | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/readme.md | <p align="center">
<img alt="React Notion X" src="https://raw.githubusercontent.com/NotionX/react-notion-x/master/media/notion-ts.png" width="689">
</p>
# React Notion X
> Fast and accurate React renderer for Notion.
[](https://www.npmjs.com/package/react-noti... | 1,309 |
0 | petrpan-code/NotionX/react-notion-x/packages | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/tsconfig.json | {
"extends": "../../tsconfig.base",
"compilerOptions": {
"composite": true,
"rootDir": "src",
"outDir": "build",
"tsBuildInfoFile": "build/.tsbuildinfo",
"emitDeclarationOnly": true,
"lib": ["DOM", "ESNext"],
"noImplicitReturns": false,
"skipLibCheck": true,
"jsx": "react"
},
... | 1,310 |
0 | petrpan-code/NotionX/react-notion-x/packages | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/tsup.config.ts | import { Options, defineConfig } from 'tsup'
const baseConfig: Options = {
entry: [
'src/index.tsx',
'src/third-party/code.tsx',
'src/third-party/collection.tsx',
'src/third-party/equation.tsx',
'src/third-party/modal.tsx',
'src/third-party/pdf.tsx'
],
outDir: 'build',
target: 'es2015',... | 1,311 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/block.tsx | import * as React from 'react'
import * as types from 'notion-types'
import {
getBlockCollectionId,
getBlockIcon,
getBlockParentPage,
getPageTableOfContents,
getTextContent,
uuidToId
} from 'notion-utils'
import { AssetWrapper } from './components/asset-wrapper'
import { Audio } from './components/audio'
... | 1,312 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/context.tsx | import * as React from 'react'
import { ExtendedRecordMap } from 'notion-types'
import { AssetWrapper } from './components/asset-wrapper'
import { Checkbox as DefaultCheckbox } from './components/checkbox'
import { Header } from './components/header'
import { wrapNextImage, wrapNextLink } from './next'
import {
Map... | 1,313 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/index.tsx | export { NotionRenderer } from './renderer'
export * from './types'
export * from './utils'
export * from './context'
export * from './components/text'
export * from './components/header'
export * from './components/page-icon'
| 1,314 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/map-image-url.ts | import { Block } from 'notion-types'
export const defaultMapImageUrl = (
url: string,
block: Block
): string | null => {
if (!url) {
return null
}
if (url.startsWith('data:')) {
return url
}
// more recent versions of notion don't proxy unsplash images
if (url.startsWith('https://images.unspl... | 1,315 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/map-page-url.ts | export const defaultMapPageUrl = (rootPageId?: string) => (pageId: string) => {
pageId = (pageId || '').replace(/-/g, '')
if (rootPageId && pageId === rootPageId) {
return '/'
} else {
return `/${pageId}`
}
}
| 1,316 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/next.tsx | import * as React from 'react'
import isEqual from 'react-fast-compare'
export const wrapNextImage = (NextImage: any): React.FC<any> => {
return React.memo(function ReactNotionXNextImage({
src,
alt,
width,
height,
className,
style,
layout,
...rest
}) {
if (!layout) {
... | 1,317 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/renderer.tsx | import * as React from 'react'
import mediumZoom from '@fisch0920/medium-zoom'
import { ExtendedRecordMap } from 'notion-types'
import { Block } from './block'
import { NotionContextProvider, useNotionContext } from './context'
import {
MapImageUrlFn,
MapPageUrlFn,
NotionComponents,
SearchNotionFn
} from './t... | 1,318 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/styles.css | :root {
--notion-font: ui-sans-serif, system-ui, apple-system, BlinkMacSystemFont,
'Segoe UI', Helvetica, 'Apple Color Emoji', Arial, sans-serif,
'Segoe UI Emoji', 'Segoe UI Symbol';
--fg-color: rgb(55, 53, 47);
--fg-color-0: rgba(55, 53, 47, 0.09);
--fg-color-1: rgba(55, 53, 47, 0.16);
--fg-color-2: ... | 1,319 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/types.ts | import * as React from 'react'
import * as types from 'notion-types'
export type MapPageUrlFn = (
pageId: string,
recordMap?: types.ExtendedRecordMap | undefined
) => string
export type MapImageUrlFn = (url: string, block: types.Block) => string
export type SearchNotionFn = (
params: types.SearchParams
) => Pro... | 1,320 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/utils.ts | import { BlockMap } from 'notion-types'
export { isUrl, formatDate, formatNotionDateTime } from 'notion-utils'
export * from './map-image-url'
export * from './map-page-url'
export const cs = (...classes: Array<string | undefined | false>) =>
classes.filter((a) => !!a).join(' ')
const groupBlockContent = (blockMap... | 1,321 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/components/asset-wrapper.tsx | import * as React from 'react'
import { BaseContentBlock, Block } from 'notion-types'
import { parsePageId } from 'notion-utils'
import { useNotionContext } from '..'
import { cs } from '../utils'
import { Asset } from './asset'
import { Text } from './text'
const urlStyle = { width: '100%' }
export const AssetWrap... | 1,322 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/components/asset.tsx | import * as React from 'react'
import { BaseContentBlock, Block } from 'notion-types'
import { getTextContent } from 'notion-utils'
import { useNotionContext } from '../context'
import { getYoutubeId } from '../utils'
import { LazyImage } from './lazy-image'
import { LiteYouTubeEmbed } from './lite-youtube-embed'
co... | 1,323 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/components/audio.tsx | import * as React from 'react'
import { AudioBlock } from 'notion-types'
import { useNotionContext } from '../context'
import { cs } from '../utils'
export const Audio: React.FC<{
block: AudioBlock
className?: string
}> = ({ block, className }) => {
const { recordMap } = useNotionContext()
const source =
... | 1,324 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/components/checkbox.tsx | import * as React from 'react'
import CheckIcon from '../icons/check'
export const Checkbox: React.FC<{
isChecked: boolean
blockId: string | undefined
}> = ({ isChecked }) => {
let content = null
if (isChecked) {
content = (
<div className='notion-property-checkbox-checked'>
<CheckIcon />
... | 1,325 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/components/eoi.tsx | import * as React from 'react'
import { Block } from 'notion-types'
import { useNotionContext } from '../context'
import SvgTypeGitHub from '../icons/type-github'
import { cs, formatNotionDateTime } from '../utils'
import { MentionPreviewCard } from './mention-preview-card'
// External Object Instance
export const E... | 1,326 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/components/file.tsx | import * as React from 'react'
import { FileBlock } from 'notion-types'
import { useNotionContext } from '../context'
import { FileIcon } from '../icons/file-icon'
import { cs } from '../utils'
import { Text } from './text'
export const File: React.FC<{
block: FileBlock
className?: string
}> = ({ block, classNam... | 1,327 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/components/google-drive.tsx | import * as React from 'react'
import { GoogleDriveBlock } from 'notion-types'
import { useNotionContext } from '../context'
import { cs } from '../utils'
import { GracefulImage } from './graceful-image'
export const GoogleDrive: React.FC<{
block: GoogleDriveBlock
className?: string
}> = ({ block, className }) =... | 1,328 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/components/graceful-image.tsx | import * as React from 'react'
import { Img, ImgProps } from 'react-image'
import { isBrowser } from '../utils'
export const GracefulImage = (props: ImgProps) => {
if (isBrowser) {
return <Img {...props} />
} else {
// @ts-expect-error (must use the appropriate subset of props for <img> if using SSR)
... | 1,329 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/components/header.tsx | import * as React from 'react'
import * as types from 'notion-types'
import { getPageBreadcrumbs } from 'notion-utils'
import { useHotkeys } from 'react-hotkeys-hook'
import { useNotionContext } from '../context'
import { SearchIcon } from '../icons/search-icon'
import { SearchNotionFn } from '../types'
import { cs }... | 1,330 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/components/lazy-image.tsx | import * as React from 'react'
import { normalizeUrl } from 'notion-utils'
import { ImageState, LazyImageFull } from 'react-lazy-images'
import { useNotionContext } from '../context'
import { cs } from '../utils'
/**
* Progressive, lazy images modeled after Medium's LQIP technique.
*/
export const LazyImage: React... | 1,331 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/components/lite-youtube-embed.tsx | import * as React from 'react'
import { cs } from '../utils'
const qs = (params: Record<string, string>) => {
return Object.keys(params)
.map(
(key) => `${encodeURIComponent(key)}=${encodeURIComponent(params[key])}`
)
.join('&')
}
export const LiteYouTubeEmbed: React.FC<{
id: string
defaultPl... | 1,332 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/components/mention-preview-card.tsx | import React from 'react'
function capitalizeFirstLetter(str) {
return str.charAt(0).toUpperCase() + str.slice(1)
}
export const MentionPreviewCard: React.FC<{
owner?: string
lastUpdated?: string
title: string
domain: string
externalImage?: React.ReactNode
}> = ({ owner, lastUpdated, externalImage, title,... | 1,333 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/components/page-aside.tsx | import * as React from 'react'
import throttle from 'lodash.throttle'
import { TableOfContentsEntry, uuidToId } from 'notion-utils'
import { cs } from '../utils'
export const PageAside: React.FC<{
toc: Array<TableOfContentsEntry>
activeSection: string | null
setActiveSection: (activeSection: string | null) => ... | 1,334 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/components/page-icon.tsx | import * as React from 'react'
import { Block, CalloutBlock, PageBlock } from 'notion-types'
import { getBlockIcon, getBlockTitle } from 'notion-utils'
import { useNotionContext } from '../context'
import { DefaultPageIcon } from '../icons/default-page-icon'
import { cs, isUrl } from '../utils'
import { LazyImage } f... | 1,335 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/components/page-title.tsx | import * as React from 'react'
import { Block, Decoration } from 'notion-types'
import { getBlockTitle } from 'notion-utils'
import { useNotionContext } from '../context'
import { cs } from '../utils'
import { PageIcon } from './page-icon'
import { Text } from './text'
export const PageTitleImpl: React.FC<{
block:... | 1,336 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/components/search-dialog.tsx | import * as React from 'react'
import * as types from 'notion-types'
import throttle from 'lodash.throttle'
import { getBlockParentPage, getBlockTitle } from 'notion-utils'
import { NotionContextConsumer, NotionContextProvider } from '../context'
import { ClearIcon } from '../icons/clear-icon'
import { LoadingIcon } ... | 1,337 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/components/sync-pointer-block.tsx | import * as React from 'react'
import {
Block as BlockType,
SyncPointerBlock as SyncPointerBlockType
} from 'notion-types'
import { NotionBlockRenderer } from '../renderer'
export const SyncPointerBlock: React.FC<{
block: BlockType
level: number
}> = ({ block, level }) => {
if (!block) {
if (process.en... | 1,338 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/components/text.tsx | import * as React from 'react'
import { Block, Decoration, ExternalObjectInstance } from 'notion-types'
import { parsePageId } from 'notion-utils'
import { useNotionContext } from '../context'
import { formatDate, getHashFragmentValue } from '../utils'
import { EOI } from './eoi'
import { GracefulImage } from './grac... | 1,339 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/check.svg | <?xml version="1.0" encoding="UTF-8"?>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 14 14"
>
<polygon
points="5.5 11.9993304 14 3.49933039 12.5 2 5.5 8.99933039 1.5 4.9968652 0 6.49933039"
></polygon>
</svg> | 1,340 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/check.tsx | import * as React from 'react'
function SvgCheck(props: React.SVGProps<SVGSVGElement>) {
return (
<svg viewBox='0 0 14 14' {...props}>
<path d='M5.5 12L14 3.5 12.5 2l-7 7-4-4.003L0 6.499z' />
</svg>
)
}
export default SvgCheck
| 1,341 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/chevron-down-icon.tsx | import * as React from 'react'
export const ChevronDownIcon = (props) => {
const { className, ...rest } = props
return (
<svg className={className} {...rest} viewBox='0 0 30 30' width='10'>
<polygon points='15,17.4 4.8,7 2,9.8 15,23 28,9.8 25.2,7 '></polygon>
</svg>
)
}
| 1,342 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/clear-icon.tsx | import * as React from 'react'
import { cs } from '../utils'
export const ClearIcon = (props) => {
const { className, ...rest } = props
return (
<svg className={cs('notion-icon', className)} {...rest} viewBox='0 0 30 30'>
<path d='M15,0C6.716,0,0,6.716,0,15s6.716,15,15,15s15-6.716,15-15S23.284,0,15,0z M... | 1,343 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/collection-view-board.svg | <?xml version="1.0" encoding="UTF-8"?>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 14 14"
>
<path d="M12,1.5 L2,1.5 C1.72386,1.5 1.5,1.72386 1.5,2 L1.5,12 C1.5,12.2761 1.72386,12.5 2,12.5 L12,12.5 C12.2761,12.5 12.5,12.2761 12.5,12 L12.5,2 C12.... | 1,344 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/collection-view-board.tsx | import * as React from 'react'
function SvgCollectionViewBoard(props: React.SVGProps<SVGSVGElement>) {
return (
<svg viewBox='0 0 14 14' {...props}>
<path d='M12 1.5H2a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5V2a.5.5 0 00-.5-.5zM2 0h10a2 2 0 012 2v10a2 2 0 01-2 2H2a2 2 0 01-2-2V2a2 2 0 012-2zm1 3h2... | 1,345 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/collection-view-calendar.svg | <?xml version="1.0" encoding="UTF-8"?>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 14 14"
>
<path d="M2.5638852,4.00389099 C1.97751564,4.00389099 1.85394185,4.02775419 1.73055258,4.09374349 C1.66602937,4.12825089 1.62435989,4.16992036 1.5898525... | 1,346 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/collection-view-calendar.tsx | import * as React from 'react'
function SvgCollectionViewCalendar(props: React.SVGProps<SVGSVGElement>) {
return (
<svg viewBox='0 0 14 14' {...props}>
<path d='M2.564 4.004c-.586 0-.71.024-.833.09a.319.319 0 00-.141.14c-.066.124-.09.247-.09.834v6.368c0 .586.024.71.09.833a.319.319 0 00.14.141c.124.066.248.... | 1,347 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/collection-view-gallery.svg | <?xml version="1.0" encoding="UTF-8"?>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 14 14"
>
<path d="M12,1.5 L2,1.5 C1.72386,1.5 1.5,1.72386 1.5,2 L1.5,12 C1.5,12.2761 1.72386,12.5 2,12.5 L12,12.5 C12.2761,12.5 12.5,12.2761 12.5,12 L12.5,2 C12.... | 1,348 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/collection-view-gallery.tsx | import * as React from 'react'
function SvgCollectionViewGallery(props: React.SVGProps<SVGSVGElement>) {
return (
<svg viewBox='0 0 14 14' {...props}>
<path d='M12 1.5H2a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5V2a.5.5 0 00-.5-.5zM2 0h10a2 2 0 012 2v10a2 2 0 01-2 2H2a2 2 0 01-2-2V2a2 2 0 012-2zm1 3... | 1,349 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/collection-view-icon.tsx | import * as React from 'react'
import { CollectionViewType } from 'notion-types'
import CollectionViewBoardIcon from './collection-view-board'
import CollectionViewCalendarIcon from './collection-view-calendar'
import CollectionViewGalleryIcon from './collection-view-gallery'
import CollectionViewListIcon from './col... | 1,350 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/collection-view-list.svg | <?xml version="1.0" encoding="UTF-8"?>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 14 14"
>
<path d="M12,1.5 L2,1.5 C1.72386,1.5 1.5,1.72386 1.5,2 L1.5,12 C1.5,12.2761 1.72386,12.5 2,12.5 L12,12.5 C12.2761,12.5 12.5,12.2761 12.5,12 L12.5,2 C12.... | 1,351 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/collection-view-list.tsx | import * as React from 'react'
function SvgCollectionViewList(props: React.SVGProps<SVGSVGElement>) {
return (
<svg viewBox='0 0 14 14' {...props}>
<path d='M12 1.5H2a.5.5 0 00-.5.5v10a.5.5 0 00.5.5h10a.5.5 0 00.5-.5V2a.5.5 0 00-.5-.5zM2 0h10a2 2 0 012 2v10a2 2 0 01-2 2H2a2 2 0 01-2-2V2a2 2 0 012-2zm1 3h6v... | 1,352 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/collection-view-table.svg | <?xml version="1.0" encoding="UTF-8"?>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 14 14"
>
<path d="M2,2.22044605e-16 L12,0 C13.1045695,7.78148667e-16 14,0.8954305 14,2 L14,12 C14,13.1045695 13.1045695,14 12,14 L2,14 C0.8954305,14 1.11632554e-... | 1,353 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/collection-view-table.tsx | import * as React from 'react'
function SvgCollectionViewTable(props: React.SVGProps<SVGSVGElement>) {
return (
<svg viewBox='0 0 14 14' {...props}>
<path d='M2 0h10a2 2 0 012 2v10a2 2 0 01-2 2H2a2 2 0 01-2-2V2a2 2 0 012-2zm3.75 5.67v2.66h6.75V5.67H5.75zm0 4.17v2.66h5.75a1 1 0 001-1V9.84H5.75zM1.5 5.67v2.6... | 1,354 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/copy.svg | <svg stroke="currentColor" fill="currentColor" stroke-width="0" viewBox="0 0 448 512" height="1em" width="1em" xmlns="http://www.w3.org/2000/svg"><path d="M433.941 65.941l-51.882-51.882A48 48 0 0 0 348.118 0H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48v... | 1,355 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/copy.tsx | import * as React from 'react'
function SvgCopy(props: React.SVGProps<SVGSVGElement>) {
return (
<svg
fill='currentColor'
viewBox='0 0 16 16'
width='1em'
version='1.1'
{...props}
>
<path
fillRule='evenodd'
d='M0 6.75C0 5.784.784 5 1.75 5h1.5a.75.75 0 010 1.... | 1,356 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/default-page-icon.tsx | import * as React from 'react'
export const DefaultPageIcon = (props) => {
const { className, ...rest } = props
return (
<svg className={className} {...rest} viewBox='0 0 30 30' width='16'>
<path d='M16,1H4v28h22V11L16,1z M16,3.828L23.172,11H16V3.828z M24,27H6V3h8v10h10V27z M8,17h14v-2H8V17z M8,21h14v-2H... | 1,357 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/empty-icon.tsx | import * as React from 'react'
export const EmptyIcon = (props) => {
const { className, ...rest } = props
return (
<svg className={className} {...rest} viewBox='0 0 14 14' width='14'>
<path d='M11.0918,0 C11.5383,0 11.9307,0.295898 12.0533,0.725586 L13.9615,7.40332 C13.9871,7.49316 14,7.58594 14,7.67871 ... | 1,358 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/file-icon.tsx | import * as React from 'react'
export const FileIcon = (props) => {
const { className, ...rest } = props
return (
<svg className={className} {...rest} viewBox='0 0 30 30'>
<path d='M22,8v12c0,3.866-3.134,7-7,7s-7-3.134-7-7V8c0-2.762,2.238-5,5-5s5,2.238,5,5v12c0,1.657-1.343,3-3,3s-3-1.343-3-3V8h-2v12c0,2.... | 1,359 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/link-icon.tsx | import * as React from 'react'
export const LinkIcon = (props) => {
const { className, ...rest } = props
return (
<svg
className={className}
{...rest}
viewBox='0 0 16 16'
width='16'
height='16'
>
<path
fillRule='evenodd'
d='M7.775 3.275a.75.75 0 001.06 1.... | 1,360 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/loading-icon.tsx | import * as React from 'react'
import { cs } from '../utils'
export const LoadingIcon = (props) => {
const { className, ...rest } = props
return (
<svg className={cs('notion-icon', className)} {...rest} viewBox='0 0 24 24'>
<defs>
<linearGradient
x1='28.1542969%'
y1='63.74023... | 1,361 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/property-icon.tsx | import * as React from 'react'
import { PropertyType } from 'notion-types'
import CheckboxIcon from './type-checkbox'
import DateIcon from './type-date'
import EmailIcon from './type-email'
import FileIcon from './type-file'
import FormulaIcon from './type-formula'
import MultiSelectIcon from './type-multi-select'
im... | 1,362 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/search-icon.tsx | import * as React from 'react'
import { cs } from '../utils'
export const SearchIcon = (props) => {
const { className, ...rest } = props
return (
<svg className={cs('notion-icon', className)} viewBox='0 0 17 17' {...rest}>
<path d='M6.78027 13.6729C8.24805 13.6729 9.60156 13.1982 10.709 12.4072L14.875 1... | 1,363 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-checkbox.svg | <?xml version="1.0" encoding="UTF-8"?>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 14 14"
>
<path
d="M0,3 C0,1.34314 1.34326,0 3,0 L11,0 C12.6567,0 14,1.34314 14,3 L14,11 C14,12.6569 12.6567,14 11,14 L3,14 C1.34326,14 0,12.6569 0,11 L0,3 Z ... | 1,364 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-checkbox.tsx | import * as React from 'react'
function SvgTypeCheckbox(props: React.SVGProps<SVGSVGElement>) {
return (
<svg viewBox='0 0 14 14' {...props}>
<path d='M0 3a3 3 0 013-3h8a3 3 0 013 3v8a3 3 0 01-3 3H3a3 3 0 01-3-3V3zm3-1.5A1.5 1.5 0 001.5 3v8A1.5 1.5 0 003 12.5h8a1.5 1.5 0 001.5-1.5V3A1.5 1.5 0 0011 1.5H3zm-... | 1,365 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-date.svg | <?xml version="1.0" encoding="UTF-8"?>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 14 14"
>
<path
d="M10.8889,5.5 L3.11111,5.5 L3.11111,7.05556 L10.8889,7.05556 L10.8889,5.5 Z M12.4444,1.05556 L11.6667,1.05556 L11.6667,0 L10.1111,0 L10.1111... | 1,366 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-date.tsx | import * as React from 'react'
function SvgTypeDate(props: React.SVGProps<SVGSVGElement>) {
return (
<svg viewBox='0 0 14 14' {...props}>
<path d='M10.889 5.5H3.11v1.556h7.778V5.5zm1.555-4.444h-.777V0H10.11v1.056H3.89V0H2.333v1.056h-.777c-.864 0-1.548.7-1.548 1.555L0 12.5c0 .856.692 1.5 1.556 1.5h10.888C13... | 1,367 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-email.svg | <?xml version="1.0" encoding="UTF-8"?>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 14 14"
>
<path
d="M14,6.22508 C14,7.0471 13.8666,7.79918 13.5999,8.48134 C13.3332,9.16351 12.9563,9.69867 12.4692,10.0868 C11.9821,10.475 11.524,10.6862 10.9... | 1,368 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-email.tsx | import * as React from 'react'
function SvgTypeEmail(props: React.SVGProps<SVGSVGElement>) {
return (
<svg viewBox='0 0 14 14' {...props}>
<path d='M14 6.225c0 .822-.133 1.574-.4 2.256-.267.683-.644 1.218-1.13 1.606-.488.388-.946.6-1.494.6-.429 0-.808-.102-1.139-.305a1.753 1.753 0 01-.713-.8c-.613.736-1.56... | 1,369 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-file.svg | <?xml version="1.0" encoding="UTF-8"?>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 14 14"
>
<path
d="M5.94578,14 C4.62416,14 3.38248,13.4963 2.44892,12.585 C1.514641,11.6736 1,10.4639 1,9.17405 C1.00086108,7.88562 1.514641,6.67434 2.44892,5... | 1,370 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-file.tsx | import * as React from 'react'
function SvgTypeFile(props: React.SVGProps<SVGSVGElement>) {
return (
<svg viewBox='0 0 14 14' {...props}>
<path d='M5.946 14a4.975 4.975 0 01-3.497-1.415A4.731 4.731 0 011 9.174c0-1.288.515-2.5 1.449-3.41L7.456.986c1.345-1.313 3.722-1.318 5.08.007a3.453 3.453 0 010 4.961L8.0... | 1,371 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-formula.svg | <?xml version="1.0" encoding="UTF-8"?>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 14 14"
>
<path d="M7.77892,7.06304 L4.62218,11.2875 C4.58556,11.3416 4.55285,11.4392 4.5504,11.5052 C4.5504,11.7022 4.7047,11.8619 4.89562,11.8619 L11.1383,11.86... | 1,372 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-formula.tsx | import * as React from 'react'
function SvgTypeFormula(props: React.SVGProps<SVGSVGElement>) {
return (
<svg viewBox='0 0 14 14' {...props}>
<path d='M7.779 7.063l-3.157 4.224a.49.49 0 00-.072.218.35.35 0 00.346.357h6.242c.476 0 .862.398.862.889v.36c0 .491-.386.889-.862.889H1.862A.876.876 0 011 13.111v-.42... | 1,373 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-github.tsx | import * as React from 'react'
function SvgTypeGitHub(props: React.SVGProps<SVGSVGElement>) {
return (
<svg viewBox='0 0 260 260' {...props}>
<g>
<path
d='M128.00106,0 C57.3172926,0 0,57.3066942 0,128.00106 C0,184.555281 36.6761997,232.535542 87.534937,249.460899 C93.9320223,250.645779 96... | 1,374 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-multi-select.svg | <?xml version="1.0" encoding="UTF-8"?>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 14 14"
>
<path
d="M4,3 C4,2.447715 4.447715,2 5,2 L12,2 C12.5523,2 13,2.447716 13,3 C13,3.55228 12.5523,4 12,4 L5,4 C4.447715,4 4,3.55228 4,3 Z M4,7 C4,6.447... | 1,375 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-multi-select.tsx | import * as React from 'react'
function SvgTypeMultiSelect(props: React.SVGProps<SVGSVGElement>) {
return (
<svg viewBox='0 0 14 14' {...props}>
<path d='M4 3a1 1 0 011-1h7a1 1 0 110 2H5a1 1 0 01-1-1zm0 4a1 1 0 011-1h7a1 1 0 110 2H5a1 1 0 01-1-1zm0 4a1 1 0 011-1h7a1 1 0 110 2H5a1 1 0 01-1-1zM2 4a1 1 0 110-... | 1,376 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-number.svg | <?xml version="1.0" encoding="UTF-8"?>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 14 14"
>
<path
d="M4.46191,0 C3.8667,0 3.38428,0.482422 3.38428,1.07751 L3.38428,3.38425 L1.07764,3.38425 C0.482422,3.38425 0,3.86667 0,4.46179 C0,5.05688 0.... | 1,377 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-number.tsx | import * as React from 'react'
function SvgTypeNumber(props: React.SVGProps<SVGSVGElement>) {
return (
<svg viewBox='0 0 14 14' {...props}>
<path d='M4.462 0c-.595 0-1.078.482-1.078 1.078v2.306H1.078a1.078 1.078 0 100 2.155h2.306v2.922H1.078a1.078 1.078 0 100 2.155h2.306v2.306a1.078 1.078 0 002.155 0v-2.30... | 1,378 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-person-2.svg | <?xml version="1.0" encoding="UTF-8"?>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 14 14"
>
<path d="M13.125,10.0354 C12.5536,9.48588 10.801,8.53125 9.625,7.875 L9.625,7.04112 C9.849,6.71912 10.045,6.37 10.1911,5.98588 C10.5849,5.7435 10.9375,5... | 1,379 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-person-2.tsx | import * as React from 'react'
function SvgTypePerson2(props: React.SVGProps<SVGSVGElement>) {
return (
<svg viewBox='0 0 14 14' {...props}>
<path d='M13.125 10.035c-.571-.55-2.324-1.504-3.5-2.16v-.834c.224-.322.42-.671.566-1.055.394-.242.746-.702.746-1.173 0-.458-.005-.87-.47-1.208C10.305 1.558 9.436 0 7 ... | 1,380 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-person.svg | <?xml version="1.0" encoding="UTF-8"?>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 14 14"
>
<path
d="M9.625,10.8465 C8.91187,10.2891 8.12088,9.926 7,9.26013 L7,8.71938 C7.21175,8.47612 7.392,8.176 7.53813,7.83213 C7.94587,7.7315 8.3125,7.33... | 1,381 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-person.tsx | import * as React from 'react'
function SvgTypePerson(props: React.SVGProps<SVGSVGElement>) {
return (
<svg viewBox='0 0 14 14' {...props}>
<path d='M9.625 10.847C8.912 10.289 8.121 9.926 7 9.26v-.54a3.33 3.33 0 00.538-.888c.408-.1.774-.498.774-.832 0-.482-.202-.673-.44-.829 0-.015.003-.03.003-.046 0-.711-... | 1,382 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-phone-number.svg | <?xml version="1.0" encoding="UTF-8"?>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 14 14"
>
<path
d="M2.20731,0.0127209 C2.1105,-0.0066419 1.99432,-0.00664663 1.91687,0.032079 C0.871279,0.438698 0.212942,1.92964 0.0580392,2.95587 C-0.426031... | 1,383 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-phone-number.tsx | import * as React from 'react'
function SvgTypePhoneNumber(props: React.SVGProps<SVGSVGElement>) {
return (
<svg viewBox='0 0 14 14' {...props}>
<path d='M2.207.013a.487.487 0 00-.29.02C.87.438.213 1.93.058 2.955c-.484 3.33 2.15 6.215 4.57 8.113 2.149 1.684 6.273 4.453 8.713 1.781.31-.329.678-.813.658-1.29... | 1,384 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-relation.svg | <?xml version="1.0" encoding="UTF-8"?>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 14 14"
>
<polygon points="4.5 1 4.5 3 9.586 3 1 11.586 2.414 13 11 4.414 11 9.5 13 9.5 13 1"></polygon>
</svg> | 1,385 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-relation.tsx | import * as React from 'react'
function SvgTypeRelation(props: React.SVGProps<SVGSVGElement>) {
return (
<svg viewBox='0 0 14 14' {...props}>
<path d='M4.5 1v2h5.086L1 11.586 2.414 13 11 4.414V9.5h2V1z' />
</svg>
)
}
export default SvgTypeRelation
| 1,386 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-select.svg | <?xml version="1.0" encoding="UTF-8"?>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 14 14"
>
<path
d="M7,13 C10.31348,13 13,10.31371 13,7 C13,3.68629 10.31348,1 7,1 C3.68652,1 1,3.68629 1,7 C1,10.31371 3.68652,13 7,13 Z M3.75098,5.32278 C3.6... | 1,387 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-select.tsx | import * as React from 'react'
function SvgTypeSelect(props: React.SVGProps<SVGSVGElement>) {
return (
<svg viewBox='0 0 14 14' {...props}>
<path d='M7 13A6 6 0 107 1a6 6 0 000 12zM3.751 5.323A.2.2 0 013.909 5h6.182a.2.2 0 01.158.323L7.158 9.297a.2.2 0 01-.316 0L3.751 5.323z' />
</svg>
)
}
export de... | 1,388 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-status.svg | <?xml version="1.0" encoding="UTF-8"?>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 16 16"
>
<path
d="M8.75488 1.02344C8.75488 0.613281 8.41309 0.264648 8.00293 0.264648C7.59277 0.264648 7.25098 0.613281 7.25098 1.02344V3.11523C7.25098 3.518... | 1,389 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-status.tsx | import * as React from 'react'
function SvgTypeStatus(props: React.SVGProps<SVGSVGElement>) {
return (
<svg viewBox='0 0 16 16' {...props}>
<path d='M8.75488 1.02344C8.75488 0.613281 8.41309 0.264648 8.00293 0.264648C7.59277 0.264648 7.25098 0.613281 7.25098 1.02344V3.11523C7.25098 3.51855 7.59277 3.86719 ... | 1,390 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-text.svg | <?xml version="1.0" encoding="UTF-8"?>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 14 14"
>
<path
d="M7,4.56818 C7,4.29204 6.77614,4.06818 6.5,4.06818 L0.5,4.06818 C0.223858,4.06818 0,4.29204 0,4.56818 L0,5.61364 C0,5.88978 0.223858,6.11364... | 1,391 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-text.tsx | import * as React from 'react'
function SvgTypeText(props: React.SVGProps<SVGSVGElement>) {
return (
<svg viewBox='0 0 14 14' {...props}>
<path d='M7 4.568a.5.5 0 00-.5-.5h-6a.5.5 0 00-.5.5v1.046a.5.5 0 00.5.5h6a.5.5 0 00.5-.5V4.568zM.5 1a.5.5 0 00-.5.5v1.045a.5.5 0 00.5.5h12a.5.5 0 00.5-.5V1.5a.5.5 0 00-.... | 1,392 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-timestamp.svg | <?xml version="1.0" encoding="UTF-8"?>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 14 14"
>
<path d="M6.98643729,14.0000972 C5.19579566,14.0000972 3.40419152,13.3106896 2.04245843,11.9323606 C-0.681017475,9.21200555 -0.680780251,4.76029539 2.04... | 1,393 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-timestamp.tsx | import * as React from 'react'
function SvgTypeTimestamp(props: React.SVGProps<SVGSVGElement>) {
return (
<svg viewBox='0 0 14 14' {...props}>
<path d='M6.986 14c-1.79 0-3.582-.69-4.944-2.068-2.723-2.72-2.723-7.172 0-9.892 2.725-2.72 7.182-2.72 9.906 0A6.972 6.972 0 0114 6.996c0 1.88-.728 3.633-2.052 4.955... | 1,394 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-title.svg | <?xml version="1.0" encoding="UTF-8"?>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 14 14"
>
<path
d="M7.73943662,8.6971831 C7.77640845,8.7834507 7.81338028,8.8943662 7.81338028,9.00528169 C7.81338028,9.49823944 7.40669014,9.89260563 6.91373... | 1,395 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-title.tsx | import * as React from 'react'
function SvgTypeTitle(props: React.SVGProps<SVGSVGElement>) {
return (
<svg viewBox='0 0 14 14' {...props}>
<path d='M7.74 8.697a.81.81 0 01.073.308.894.894 0 01-.9.888.867.867 0 01-.825-.592l-.333-.961H2.058l-.333.961a.882.882 0 01-.838.592A.884.884 0 010 9.005c0-.11.025-.22... | 1,396 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-url.svg | <?xml version="1.0" encoding="UTF-8"?>
<svg
version="1.1"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink"
viewBox="0 0 14 14"
>
<path
d="M3.73333,3.86667 L7.46667,3.86667 C8.49613,3.86667 9.33333,4.70387 9.33333,5.73333 C9.33333,6.7628 8.49613,7.6 7.46667,7.6 L6.53333,7.6 C6.... | 1,397 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/icons/type-url.tsx | import * as React from 'react'
function SvgTypeUrl(props: React.SVGProps<SVGSVGElement>) {
return (
<svg viewBox='0 0 14 14' {...props}>
<path d='M3.733 3.867h3.734c1.03 0 1.866.837 1.866 1.866 0 1.03-.837 1.867-1.866 1.867h-.934a.934.934 0 000 1.867h.934a3.734 3.734 0 000-7.467H3.733A3.73 3.73 0 001.89 8.... | 1,398 |
0 | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src | petrpan-code/NotionX/react-notion-x/packages/react-notion-x/src/third-party/code.tsx | import * as React from 'react'
import copyToClipboard from 'clipboard-copy'
import { CodeBlock } from 'notion-types'
import { getBlockTitle } from 'notion-utils'
import { highlightElement } from 'prismjs'
import 'prismjs/components/prism-clike.min.js'
import 'prismjs/components/prism-css-extras.min.js'
import 'prismjs... | 1,399 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.