NotionX / NotionX/react-notion-x
Support for overriding `Quote` block/component
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 5.4k
- Forks
- 645
- PR merge metrics
- No merged PRs in 30d
Description
Description
Can you please add the support for overriding Quote block?
Currently, only the following overrides seems to supported:
export interface NotionComponents {
Image: any;
Link: any;
PageLink: any;
Checkbox: React.FC<{
isChecked: boolean;
blockId: string;
}>;
Code: any;
Equation: any;
Callout?: any;
Collection: any;
Property?: any;
propertyTextValue: ComponentOverrideFn;
propertySelectValue: ComponentOverrideFn;
propertyRelationValue: ComponentOverrideFn;
propertyFormulaValue: ComponentOverrideFn;
propertyTitleValue: ComponentOverrideFn;
propertyPersonValue: ComponentOverrideFn;
propertyFileValue: ComponentOverrideFn;
propertyCheckboxValue: ComponentOverrideFn;
propertyUrlValue: ComponentOverrideFn;
propertyEmailValue: ComponentOverrideFn;
propertyPhoneNumberValue: ComponentOverrideFn;
propertyNumberValue: ComponentOverrideFn;
propertyLastEditedTimeValue: ComponentOverrideFn;
propertyCreatedTimeValue: ComponentOverrideFn;
propertyDateValue: ComponentOverrideFn;
Pdf: any;
Tweet: any;
Modal: any;
Embed: any;
Header: any;
nextImage?: any;
nextLink?: any;
}
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the NotionComponents interface shown in the issue and inspect how the existing block overrides, such as Callout and Code, are wired into rendering. Trace the Quote block's rendering path and make it accept an override consistently with those components; done means consumers can provide a Quote component through the override interface.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100