Socket
Socket
Sign inDemoInstall

@figma-export/output-components-as-svgr

Package Overview
Dependencies
Maintainers
1
Versions
41
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@figma-export/output-components-as-svgr - npm Package Compare versions

Comparing version 3.0.0-alpha.0 to 3.0.0-alpha.1

12

dist/index.d.ts

@@ -1,8 +0,8 @@

import { FigmaExport } from '@figma-export/types';
import * as FigmaExport from '@figma-export/types';
import { Config } from './svgr';
declare type Options = {
output: string;
getDirname?: (options: FigmaExport.OutputterParamOption) => string;
getComponentName?: (options: FigmaExport.OutputterParamOption) => string;
getFileExtension?: (options: FigmaExport.OutputterParamOption) => string;
getDirname?: (options: FigmaExport.ComponentOutputterParamOption) => string;
getComponentName?: (options: FigmaExport.ComponentOutputterParamOption) => string;
getFileExtension?: (options: FigmaExport.ComponentOutputterParamOption) => string;
/**

@@ -12,6 +12,6 @@ * SVGR ships with a handful of customizable options, usable in both the CLI and API.

*/
getSvgrConfig?: (options: FigmaExport.OutputterParamOption) => Config;
getSvgrConfig?: (options: FigmaExport.ComponentOutputterParamOption) => Config;
};
declare const _default: ({ output, getDirname, getComponentName, getFileExtension, getSvgrConfig, }: Options) => FigmaExport.Outputter;
declare const _default: ({ output, getDirname, getComponentName, getFileExtension, getSvgrConfig, }: Options) => FigmaExport.ComponentOutputter;
export = _default;
//# sourceMappingURL=index.d.ts.map
{
"name": "@figma-export/output-components-as-svgr",
"version": "3.0.0-alpha.0",
"version": "3.0.0-alpha.1",
"description": "Outputter for @figma-export that exports components as React components using svgr",

@@ -19,3 +19,3 @@ "main": "dist/index.js",

"@figma-export/output-components-utils": "^3.0.0-alpha.0",
"@figma-export/types": "^3.0.0-alpha.0",
"@figma-export/types": "^3.0.0-alpha.1",
"@svgr/core": "~5.4.0",

@@ -27,3 +27,3 @@ "make-dir": "~3.1.0"

},
"gitHead": "05a70e69f8758f8566896d5bb492007aaf423e58"
"gitHead": "37315218c189d05ad1ca8ef48625c114a06f5795"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc