0.0.8 • Published 5 years ago

@bnnvara/metablocks v0.0.8

Weekly downloads
2
License
ISC
Repository
-
Last release
5 years ago

Metablocks

Metablocks show meta-information in a seperate block.

Design & API Documentation

DEMO Metablocks

Patterns library

Installation

npm install @bnnvara/metablocks --save

Basic Usage

import BaseMetaBlock from '@bnnvara/metablocks';

HTML Structure

<BaseMetaBlock / >

Variants

#Base MetaBlock

The BaseMetaBlock is used to display meta-data on a content page.

Props

  • title: title of the brand, should be a string;
  • publicationDate: publication date of the content, should be a string;
  • brandLogo: the logo of the brand;
  • brandLogoAltText: sets the HTML alt-tag of the brandLogo, should be a string;
  • duration: displays the readingtime or duration of video/audio content, should be a string.