pull/16178/head
floriskn 3 months ago
parent b58169da8b
commit 3fc29e1e3e

@ -0,0 +1,11 @@
import { test } from '../../test';
export default test({
server_props: {
browser: false
},
props: {
browser: true
}
});

@ -0,0 +1,9 @@
<script>
const { browser } = $props();
const attributes = {
"data-test": browser ? undefined : ""
};
</script>
<div {...attributes}></div>
Loading…
Cancel
Save