We create a custom MarkdownSpoiler component to render spoiler content in-line, but to add additional functionality within the component in order to not dilute rules.react.js.
Depends on D5546
Differential D5553
[web] Create a MarkdownSpoiler component for the web implementation to render when parsed Authored by rohan on Nov 8 2022, 2:13 AM.
Details We create a custom MarkdownSpoiler component to render spoiler content in-line, but to add additional functionality within the component in order to not dilute rules.react.js. Depends on D5546 The expected behavior is the same as the previous diff - the spoiler text still renders in a span.
Diff Detail
Event Timeline
Comment Actions Can we remove the children prop? Doesn't look like it's being used in this diff
| ||||||||||||||||||||||||||||||||||||||||||||||