@figma-export/output-components-as-svgr
Advanced tools
Comparing version 3.0.0-alpha.0 to 3.0.0-alpha.1
@@ -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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
15765