@broxium/compiler 1.3.1 → 1.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -137,7 +137,7 @@ export function BrodoxImage({ src, alt, width, height, fill, className, style, p
|
|
|
137
137
|
}
|
|
138
138
|
|
|
139
139
|
export function BrodoxLink({ href, children, className, style }) {
|
|
140
|
-
return createElement('a', { href, className, style }, children);
|
|
140
|
+
return createElement('a', { href, className, style, 'data-brodox-link': true }, children);
|
|
141
141
|
}
|
|
142
142
|
|
|
143
143
|
export function useRouter() {
|
package/dist/index.mjs
CHANGED
|
@@ -108,7 +108,7 @@ export function BrodoxImage({ src, alt, width, height, fill, className, style, p
|
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
export function BrodoxLink({ href, children, className, style }) {
|
|
111
|
-
return createElement('a', { href, className, style }, children);
|
|
111
|
+
return createElement('a', { href, className, style, 'data-brodox-link': true }, children);
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
export function useRouter() {
|