mirror of
https://github.com/supabase/supabase.git
synced 2026-10-16 14:49:10 +03:00
Fix the preview for the ReplaceCode icon.
This commit is contained in:
1 parent
21070be20e
commit
ffa281db23
3 files changed
+4
-4
No files matched your search
@@ -288,10 +288,10 @@ export const Index: Record<string, any> = [
|
||||
name: "replace-code",
|
||||
componentName: "ReplaceCode",
|
||||
deprecated: false,
|
||||
raw: "import createSupabaseIcon from '../createSupabaseIcon';\n\n/**\n * @component @name ReplaceCode\n * @description Supabase SVG icon component, renders SVG Element with children.\n *\n * @preview \n *\n * @param {Object} props - Supabase icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ReplaceCode = createSupabaseIcon('ReplaceCode', [\n [\n 'path',\n {\n d: 'M-20403 -11142H12165V-11144H-20403V-11142ZM12166 -11141V7113H12168V-11141H12166ZM12165 7114H-20403V7116H12165V7114ZM-20404 7113V-11141H-20406V7113H-20404ZM-20403 7114C-20403.6 7114 -20404 7113.55 -20404 7113H-20406C-20406 7114.66 -20404.7 7116 -20403 7116V7114ZM12166 7113C12166 7113.55 12165.6 7114 12165 7114V7116C12166.7 7116 12168 7114.66 12168 7113H12166ZM12165 -11142C12165.6 -11142 12166 -11141.6 12166 -11141H12168C12168 -11142.7 12166.7 -11144 12165 -11144V-11142ZM-20403 -11144C-20404.7 -11144 -20406 -11142.7 -20406 -11141H-20404C-20404 -11141.6 -20403.6 -11142 -20403 -11142V-11144Z',\n 'fill-opacity': '0.1',\n key: 'g9kgmq',\n },\n ],\n [\n 'rect',\n {\n x: '6.44531',\n y: '14.1133',\n width: '15.8455',\n height: '7.91818',\n rx: '3.95909',\n key: '1evqnx',\n },\n ],\n [\n 'path',\n {\n d: 'M10.5896 10.0195L18.2148 10.0195C19.0433 10.0195 19.7148 9.34796 19.7148 8.51953L19.7148 3.59225C19.7148 2.76383 19.0433 2.09226 18.2148 2.09226L5.99609 2.09226',\n 'stroke-linecap': 'round',\n key: '18tp5x',\n },\n ],\n [\n 'path',\n {\n d: 'M5.98902 10.4656V5.78906H1.3125',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n key: 'sfubon',\n },\n ],\n [\n 'path',\n {\n d: 'M3.27111 13.6133V13.6133C1.61515 12.3914 1.47948 9.96446 2.98894 8.56564L5.99609 5.77891',\n 'stroke-linecap': 'round',\n key: '1w6ie7',\n },\n ],\n]);\n\nexport default ReplaceCode;\n",
|
||||
raw: "import createSupabaseIcon from '../createSupabaseIcon';\n\n/**\n * @component @name ReplaceCode\n * @description Supabase SVG icon component, renders SVG Element with children.\n *\n * @preview \n *\n * @param {Object} props - Supabase icons props and any valid SVG attribute\n * @returns {JSX.Element} JSX Element\n *\n */\nconst ReplaceCode = createSupabaseIcon('ReplaceCode', [\n [\n 'path',\n {\n d: 'M-20403 -11142H12165V-11144H-20403V-11142ZM12166 -11141V7113H12168V-11141H12166ZM12165 7114H-20403V7116H12165V7114ZM-20404 7113V-11141H-20406V7113H-20404ZM-20403 7114C-20403.6 7114 -20404 7113.55 -20404 7113H-20406C-20406 7114.66 -20404.7 7116 -20403 7116V7114ZM12166 7113C12166 7113.55 12165.6 7114 12165 7114V7116C12166.7 7116 12168 7114.66 12168 7113H12166ZM12165 -11142C12165.6 -11142 12166 -11141.6 12166 -11141H12168C12168 -11142.7 12166.7 -11144 12165 -11144V-11142ZM-20403 -11144C-20404.7 -11144 -20406 -11142.7 -20406 -11141H-20404C-20404 -11141.6 -20403.6 -11142 -20403 -11142V-11144Z',\n 'fill-opacity': '0.1',\n key: 'g9kgmq',\n },\n ],\n [\n 'rect',\n {\n x: '6.44531',\n y: '14.1133',\n width: '15.8455',\n height: '7.91818',\n rx: '3.95909',\n key: '1evqnx',\n },\n ],\n [\n 'path',\n {\n d: 'M10.5896 10.0195L18.2148 10.0195C19.0433 10.0195 19.7148 9.34796 19.7148 8.51953L19.7148 3.59225C19.7148 2.76383 19.0433 2.09226 18.2148 2.09226L5.99609 2.09226',\n 'stroke-linecap': 'round',\n key: '18tp5x',\n },\n ],\n [\n 'path',\n {\n d: 'M5.98902 10.4656V5.78906H1.3125',\n 'stroke-linecap': 'round',\n 'stroke-linejoin': 'round',\n key: 'sfubon',\n },\n ],\n [\n 'path',\n {\n d: 'M3.27111 13.6133V13.6133C1.61515 12.3914 1.47948 9.96446 2.98894 8.56564L5.99609 5.77891',\n 'stroke-linecap': 'round',\n key: '1w6ie7',\n },\n ],\n]);\n\nexport default ReplaceCode;\n",
|
||||
component: React.lazy(() => import('icons/src/icons/replace-code')),
|
||||
import: "import { ReplaceCode } from 'icons'",
|
||||
svg: "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\"\n stroke=\"currentColor\" stroke-width=\"1\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path\n d=\"M-20403 -11142H12165V-11144H-20403V-11142ZM12166 -11141V7113H12168V-11141H12166ZM12165 7114H-20403V7116H12165V7114ZM-20404 7113V-11141H-20406V7113H-20404ZM-20403 7114C-20403.6 7114 -20404 7113.55 -20404 7113H-20406C-20406 7114.66 -20404.7 7116 -20403 7116V7114ZM12166 7113C12166 7113.55 12165.6 7114 12165 7114V7116C12166.7 7116 12168 7114.66 12168 7113H12166ZM12165 -11142C12165.6 -11142 12166 -11141.6 12166 -11141H12168C12168 -11142.7 12166.7 -11144 12165 -11144V-11142ZM-20403 -11144C-20404.7 -11144 -20406 -11142.7 -20406 -11141H-20404C-20404 -11141.6 -20403.6 -11142 -20403 -11142V-11144Z\"\n fill-opacity=\"0.1\" />\n <rect x=\"6.44531\" y=\"14.1133\" width=\"15.8455\" height=\"7.91818\" rx=\"3.95909\" />\n <path\n d=\"M10.5896 10.0195L18.2148 10.0195C19.0433 10.0195 19.7148 9.34796 19.7148 8.51953L19.7148 3.59225C19.7148 2.76383 19.0433 2.09226 18.2148 2.09226L5.99609 2.09226\"\n stroke-linecap=\"round\" />\n <path d=\"M5.98902 10.4656V5.78906H1.3125\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n <path d=\"M3.27111 13.6133V13.6133C1.61515 12.3914 1.47948 9.96446 2.98894 8.56564L5.99609 5.77891\"\n stroke-linecap=\"round\" />\n</svg>",
|
||||
svg: "<svg width=\"24\" height=\"24\" viewBox=\"0 0 24 24\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\"\n stroke=\"currentColor\" stroke-width=\"1\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path\n d=\"M-20403 -11142H12165V-11144H-20403V-11142ZM12166 -11141V7113H12168V-11141H12166ZM12165 7114H-20403V7116H12165V7114ZM-20404 7113V-11141H-20406V7113H-20404ZM-20403 7114C-20403.6 7114 -20404 7113.55 -20404 7113H-20406C-20406 7114.66 -20404.7 7116 -20403 7116V7114ZM12166 7113C12166 7113.55 12165.6 7114 12165 7114V7116C12166.7 7116 12168 7114.66 12168 7113H12166ZM12165 -11142C12165.6 -11142 12166 -11141.6 12166 -11141H12168C12168 -11142.7 12166.7 -11144 12165 -11144V-11142ZM-20403 -11144C-20404.7 -11144 -20406 -11142.7 -20406 -11141H-20404C-20404 -11141.6 -20403.6 -11142 -20403 -11142V-11144Z\"\n fill-opacity=\"0.1\" />\n <rect x=\"6.44531\" y=\"14.1133\" width=\"15.8455\" height=\"7.91818\" rx=\"3.95909\" />\n <path\n d=\"M10.5896 10.0195L18.2148 10.0195C19.0433 10.0195 19.7148 9.34796 19.7148 8.51953L19.7148 3.59225C19.7148 2.76383 19.0433 2.09226 18.2148 2.09226L5.99609 2.09226\"\n stroke-linecap=\"round\" />\n <path d=\"M5.98902 10.4656V5.78906H1.3125\" stroke-linecap=\"round\" stroke-linejoin=\"round\" />\n <path d=\"M3.27111 13.6133V13.6133C1.61515 12.3914 1.47948 9.96446 2.98894 8.56564L5.99609 5.77891\"\n stroke-linecap=\"round\" />\n</svg>",
|
||||
jsx: "import { ReplaceCode } from \"icons\"\n <ReplaceCode/>\n "
|
||||
},
|
||||
{
|
||||
|
||||
@@ -4,7 +4,7 @@ import createSupabaseIcon from '../createSupabaseIcon';
|
||||
* @component @name ReplaceCode
|
||||
* @description Supabase SVG icon component, renders SVG Element with children.
|
||||
*
|
||||
* @preview 
|
||||
* @preview 
|
||||
*
|
||||
* @param {Object} props - Supabase icons props and any valid SVG attribute
|
||||
* @returns {JSX.Element} JSX Element
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" fill="none"
|
||||
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"
|
||||
stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round">
|
||||
<path
|
||||
d="M-20403 -11142H12165V-11144H-20403V-11142ZM12166 -11141V7113H12168V-11141H12166ZM12165 7114H-20403V7116H12165V7114ZM-20404 7113V-11141H-20406V7113H-20404ZM-20403 7114C-20403.6 7114 -20404 7113.55 -20404 7113H-20406C-20406 7114.66 -20404.7 7116 -20403 7116V7114ZM12166 7113C12166 7113.55 12165.6 7114 12165 7114V7116C12166.7 7116 12168 7114.66 12168 7113H12166ZM12165 -11142C12165.6 -11142 12166 -11141.6 12166 -11141H12168C12168 -11142.7 12166.7 -11144 12165 -11144V-11142ZM-20403 -11144C-20404.7 -11144 -20406 -11142.7 -20406 -11141H-20404C-20404 -11141.6 -20403.6 -11142 -20403 -11142V-11144Z"
|
||||
|
||||
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.3 KiB |
Reference in new issue
Block a user