1
0
mirror of https://github.com/misskey-dev/misskey.git synced 2026-06-12 09:24:06 +02:00

Use v-slot instead of slot

This commit is contained in:
syuilo
2019-02-18 09:48:00 +09:00
parent ba1492f977
commit 54d40420ad
96 changed files with 291 additions and 283 deletions

View File

@@ -1,8 +1,8 @@
<template>
<div class="mkw-notifications">
<ui-container :show-header="!props.compact">
<template slot="header"><fa :icon="['far', 'bell']"/>{{ $t('title') }}</template>
<!-- <button slot="func" :title="$t('title')" @click="settings"><fa icon="cog"/></button> -->
<template v-slot:header><fa :icon="['far', 'bell']"/>{{ $t('title') }}</template>
<!-- <button v-slot:func :title="$t('title')" @click="settings"><fa icon="cog"/></button> -->
<mk-notifications :class="$style.notifications"/>
</ui-container>