mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
script[setup]: presentation-notice (#18426)
This commit is contained in:
@@ -6,25 +6,19 @@
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script lang="ts">
|
||||
import { defineComponent } from 'vue';
|
||||
|
||||
export default defineComponent({
|
||||
props: {
|
||||
color: {
|
||||
type: String,
|
||||
default: 'normal',
|
||||
},
|
||||
icon: {
|
||||
type: String,
|
||||
default: 'info',
|
||||
},
|
||||
text: {
|
||||
type: String,
|
||||
default: 'No text configured...',
|
||||
},
|
||||
},
|
||||
});
|
||||
<script setup lang="ts">
|
||||
withDefaults(
|
||||
defineProps<{
|
||||
color?: string;
|
||||
icon?: string;
|
||||
text?: string;
|
||||
}>(),
|
||||
{
|
||||
color: 'normal',
|
||||
icon: 'info',
|
||||
text: 'No text configured...',
|
||||
}
|
||||
);
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
|
||||
Reference in New Issue
Block a user