@nylira/vue-page-header
v2.3.0
Published
Page header component for Vue 2.
Downloads
52
Readme
vue-page-header
Page header component for Vue 2.
Installation
npm install @nylira/vue-page-header
Usage
<template>
<page-header title="Cool Article" subtitle="Why you should read this now."></btn>
</template>
<script>
import PageHeader from '@nylira/vue-page-header'
export default {
components: {
PageHeader
}
}
</script>
<style>
.ni-page-header {
background: #f00;
}
</style>
Props
title=""
// The label of the button
// Options: Any valid string
subtitle=""
// If you're using FontAwesome, places an icon to the left of the label
// Options: Any valid string
theme="tendermint"
// Adds a custom button theme
// Options: "tendermint"
type="default
// Page header alignment type
// Options: "default", "center", "split"