post-meta
v1.0.13arrow_drop_downv1.0.13
v1.0.12
v1.0.11
v1.0.10
v1.0.9
v1.0.8
v1.0.7
v1.0.6
v1.0.5
v1.0.4
v1.0.1
v1.0.0
STATUS
Passing
DOWNLOADS
380
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
5 years ago
SIZE
20 KB
PostMeta component
1 contributor
Like
Install post-meta as a package?
Copied
npm i @bit/dennisdigital.components.molecules.post-meta
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
React
Vue
Angular
React Native
Add dependency... help_outline
Just
and packages in Bit or NPM to the example. any of the 1 million componentstoggle layout
modifieddraft
chevron_left
chevron_right
PostMeta ()
PostMeta component
Properties
Name | Type | Default value |
---|---|---|
author | string | '' |
authorUrl | string | '' |
date | string | '' |
categories | {"url":"string","title":"string"}[] | [] |
tags | {"url":"string","title":"string"}[] | [] |
context | {} | {} |
extraClassNames | {} | {} |
Test Summary
should render without any props | Pass |
check author name is rendered | Pass |
check author url is provided as href prop | Pass |
check date is rendered | Pass |
check correct amount of categories is rendered | Pass |
check categories are mapped | Pass |
check tags are rendered | Pass |
check tags are mapped | Pass |
check extraClassNames is rendered | Pass |