You need to sign in or sign up before continuing.
Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import React, { ReactElement } from "react"
import { Content, Link, Text } from "@onegeo/gatsby-theme-onegeo"
function feature(): ReactElement {
return (
<Content>
<div className="prose">
<Link to="/doc">Retour</Link>
<h1>Text</h1>
<h2>Props</h2>
<div className="mockup-code">
<pre>
<code>
{`
interface IText {
title?: string
content?: string
className?: string
action?: {
name?: string
url?: string
className?: string
}
}`}
</code>
</pre>
</div>
<h2>Example</h2>
</div>
<div className="mt-10">
<Text
title="Action"
content="Action description for the Button"
action={{
url: "#",
name: "Action",
}}
/>
</div>
</Content>
)
}
export default feature