File tree Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Expand file tree Collapse file tree 1 file changed +12
-10
lines changed Original file line number Diff line number Diff line change 2
2
import { ComponentProps } from 'react' ;
3
3
import { Callout , defineConfig , PRODUCTS } from '@theguild/components' ;
4
4
5
- function Anchor ( props : ComponentProps < 'a' > ) {
5
+ function Anchor ( { children , ... props } : ComponentProps < 'a' > ) {
6
6
return (
7
7
< a
8
8
target = "_blank"
9
9
rel = "noreferrer"
10
10
className = "_text-primary-600 _underline _decoration-from-font [text-underline-position:from-font]"
11
11
{ ...props }
12
- />
12
+ >
13
+ { children }
14
+ </ a >
13
15
) ;
14
16
}
15
17
@@ -28,14 +30,7 @@ export default defineConfig({
28
30
dismissible : false ,
29
31
} ,
30
32
components : {
31
- WIP ( ) {
32
- return (
33
- < Callout type = "warning" emoji = "🚧" >
34
- This page is under construction. Help us improve the content by submitting a PR.
35
- </ Callout >
36
- ) ;
37
- } ,
38
- // @ts -expect-error
33
+ // @ts -expect-error -- fixme
39
34
OfficialExampleCallout ( { gitFolder } : { gitFolder : string } ) {
40
35
return (
41
36
< Callout type = "info" >
@@ -61,6 +56,13 @@ export default defineConfig({
61
56
</ Callout >
62
57
) ;
63
58
} ,
59
+ WIP ( ) {
60
+ return (
61
+ < Callout type = "warning" emoji = "🚧" >
62
+ This page is under construction. Help us improve the content by submitting a PR.
63
+ </ Callout >
64
+ ) ;
65
+ } ,
64
66
} ,
65
67
description : PRODUCTS . ESLINT . title ,
66
68
docsRepositoryBase : 'https://github.com/B2o5T/graphql-eslint/tree/master/website' , // base URL for the docs repository
You can’t perform that action at this time.
0 commit comments