mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-08 15:34:05 +02:00
Use v-slot instead of slot
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<template>
|
||||
<div class="mkw-memo">
|
||||
<ui-container :show-header="!props.compact">
|
||||
<template slot="header"><fa :icon="['far', 'sticky-note']"/>{{ $t('title') }}</template>
|
||||
<template v-slot:header><fa :icon="['far', 'sticky-note']"/>{{ $t('title') }}</template>
|
||||
|
||||
<div class="mkw-memo--body">
|
||||
<textarea v-model="text" :placeholder="$t('placeholder')" @input="onChange"></textarea>
|
||||
|
||||
Reference in New Issue
Block a user