This repository has been archived by the owner on Mar 21, 2023. It is now read-only.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #50.
Draft of docs here: https://www.notion.so/octopusthink/List-1645bf94c66740ce805382c99be83de4
I've made it so it just borrows a bunch of props from the Paragraph component, since it would make sense to style these similarly. It does mean we're basically repeating a whole bunch of code, so we may end up wanting to have some sort of base Text component for components like these at some point (Quote comes to mind, for instance, although that might use slightly different styling, so maybe not?) but for now some repetition is probably fine.
Here's what else I think we need here:
I've tagged you in the items I'm not sure how to handle, but I may need help with the other ones too—I'm going to see how far I get now.
For the last item especially, I'm not sure how to do this exactly.
I do like the format in the README, so maybe we can work backwards from there and see if we can build the API to make it super easy to make a list? Also, I'm betting this could be weird with Markdown processing, so I'm super out of my depth here.