mirror of
https://github.com/enso-org/enso.git
synced 2024-12-24 15:51:54 +03:00
25 lines
551 B
Vue
25 lines
551 B
Vue
|
<script setup lang="ts">
|
||
|
import { ref } from 'vue'
|
||
|
|
||
|
import WarningsVisualization from '@/components/visualizations/WarningsVisualization.vue'
|
||
|
|
||
|
const data = ref<any>(['warning 1', "warning 2!!&<>;'\x22"])
|
||
|
</script>
|
||
|
|
||
|
<template>
|
||
|
<Story
|
||
|
title="Warnings"
|
||
|
group="visualizations"
|
||
|
:layout="{ type: 'grid', width: 400 }"
|
||
|
autoPropsDisabled
|
||
|
>
|
||
|
<div style="height: 322px">
|
||
|
<WarningsVisualization :data="data" />
|
||
|
</div>
|
||
|
|
||
|
<template #controls>
|
||
|
<HstJson v-model="data" title="data" />
|
||
|
</template>
|
||
|
</Story>
|
||
|
</template>
|