We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a976e1 commit 812393bCopy full SHA for 812393b
1 file changed
workspaces/website/src/components/ComponentDoc/ComponentDoc.tsx
@@ -1,12 +1,12 @@
1
import { components } from "@/app/docs/components";
2
import {
3
- Button,
4
Code,
5
FlexContainer,
6
FlexItem,
7
H2,
8
H3,
9
H4,
+ Link,
10
Note,
11
P,
12
} from "@shalecss/react";
@@ -34,15 +34,14 @@ export const ComponentDoc: React.FC<ComponentDocProps> = ({ component }) => {
34
35
{doc.sourcePath && (
36
<div style={{ marginBottom: "var(--shale-v1-font-1)" }}>
37
- <Button
+ <Link
38
Component="a"
39
href={`https://github.com/logonoff/shalecss/blob/main/workspaces/react/${doc.sourcePath}`}
40
rel="noopener noreferrer"
41
target="_blank"
42
- variant="secondary"
43
>
44
- View Source
45
- </Button>
+ View source
+ </Link>
46
</div>
47
)}
48
0 commit comments