diff options
author | Samuel Newman <mozzius@protonmail.com> | 2024-04-13 05:13:53 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-13 05:13:53 +0100 |
commit | 4c966e5d6d1cbafe7a41d58268ffcb2cee31abe8 (patch) | |
tree | c16f28032012c6123ea956b657656b9122b4ab66 /src/components/icons/CodeBrackets.tsx | |
parent | 4b3ec5573241b9c71504dfd0bd5f181cbde19a49 (diff) | |
download | voidsky-4c966e5d6d1cbafe7a41d58268ffcb2cee31abe8.tar.zst |
[Embeds] "Embed post" post dropdown option (#3513)
* add embed option to post dropdown menu * put embed post button behind a gate * increase line height in dialog * add gate to gate name union * hide embed button if PWI optout * Ungate embed button * Escape HTML, align implementations * Make dialog conditionally rendered * Memoize EmbedDialog * Render dialog lazily --------- Co-authored-by: Dan Abramov <dan.abramov@gmail.com>
Diffstat (limited to 'src/components/icons/CodeBrackets.tsx')
-rw-r--r-- | src/components/icons/CodeBrackets.tsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components/icons/CodeBrackets.tsx b/src/components/icons/CodeBrackets.tsx new file mode 100644 index 000000000..59d5fca90 --- /dev/null +++ b/src/components/icons/CodeBrackets.tsx @@ -0,0 +1,5 @@ +import {createSinglePathSVG} from './TEMPLATE' + +export const CodeBrackets_Stroke2_Corner0_Rounded = createSinglePathSVG({ + path: 'M14.242 3.03a1 1 0 0 1 .728 1.213l-4 16a1 1 0 1 1-1.94-.485l4-16a1 1 0 0 1 1.213-.728ZM6.707 7.293a1 1 0 0 1 0 1.414L3.414 12l3.293 3.293a1 1 0 1 1-1.414 1.414l-4-4a1 1 0 0 1 0-1.414l4-4a1 1 0 0 1 1.414 0Zm10.586 0a1 1 0 0 1 1.414 0l4 4a1 1 0 0 1 0 1.414l-4 4a1 1 0 1 1-1.414-1.414L20.586 12l-3.293-3.293a1 1 0 0 1 0-1.414Z', +}) |