1
- /**
2
- * @type {import('@grida/builder-config').FrameworkConfig }
3
- */
4
- const frameworkConfig = {
5
- framework : "react" ,
6
- language : "tsx" ,
7
- component_declaration_style : {
8
- exporting_style : {
9
- type : "export-named-functional-component" ,
10
- declaration_syntax_choice : "function" ,
11
- exporting_position : "with-declaration" ,
12
- } ,
13
- } ,
14
- } ;
1
+ // This file is auto-generated by Grida.
15
2
16
3
/**
17
- * @type {import('@ grida/builder-config ').DesignSourceConfig }
4
+ * @type {import('grida').GridaConfig }
18
5
*/
19
- const designSourceConfig = {
20
- provider : "figma" ,
21
- file : "x7RRK6RwWtZuNakmbMLTVH" ,
22
- client : "api.figma.com" ,
23
- auth : {
24
- personalAccessToken : process . env . FIGMA_PERSONAL_ACCESS_TOKEN ,
6
+ const config = {
7
+ name : 'my-react-app' ,
8
+ designsource : {
9
+ provider : 'figma' ,
10
+ file : 'x7RRK6RwWtZuNakmbMLTVH' ,
11
+ client : 'api.figma.com' ,
12
+ } ,
13
+ fallbackDir : './grida' ,
14
+ framework : {
15
+ framework : 'react' ,
16
+ language : 'tsx' ,
17
+ styling : {
18
+ type : 'styled-components' ,
19
+ module : '@emotion/styled' ,
20
+ } ,
21
+ component_declaration_style : {
22
+ exporting_style : {
23
+ type : 'export-named-functional-component' ,
24
+ declaration_syntax_choice : 'function' ,
25
+ export_declaration_syntax_choice : 'export' ,
26
+ exporting_position : 'with-declaration' ,
27
+ } ,
28
+ } ,
25
29
} ,
26
30
} ;
27
31
28
- /**
29
- * @type {import('grida').GridaConfig }
30
- */
31
- const config = { } ;
32
-
33
- module . exports = {
34
- name : "react-example" ,
35
- designsource : designSourceConfig ,
36
- framework : frameworkConfig ,
37
- } ;
32
+ module . exports = config ;
0 commit comments