1.3.0 • Published 8 months ago

client-blog-library v1.3.0

Weekly downloads
-
License
ISC
Repository
-
Last release
8 months ago

Client Blog Library

Watch on Storybook

Instalation

npm i client-blog-library

Component

<Author />

Props

author: {
    id: number,
    name: string,
    lastName: string,
    description: string,
    photo: string,
    networks: {
        linkedIn: string;
        facebook: string;
        instagram: string;
        twitter: string;
    };
}
role: string
  • photo url to author photo.

Component

<Dropdown />

Props

options: string[]
changeOption: (newString: string) => void
title: string
  • title initial placeholder.

Component

<Category />

Props

category: {
    id: number;
    name: string;
    icon: string;
    description: string;
}
full: boolean
icon: JSX.Element

Component

<CategoryPost />

Props

category: string
post: {
    id: number;
    category: number;
    author: number;
    creationDate: {
        day: number;
        month: number;
        year: number;
    };
    title: string;
    description: string;
    content: string;
    image: string;
    tags: number[];
}

Component

<Networks />

Props

linkedIn: string;
facebook: string;
instagram: string;
twitter: string;
1.3.0

8 months ago

1.2.1

8 months ago

1.2.0

8 months ago

1.1.2

8 months ago

1.1.1

8 months ago

1.1.0

8 months ago

1.0.5

8 months ago

1.0.4

8 months ago

1.0.3

8 months ago

1.0.2

8 months ago

1.0.1

8 months ago

1.0.0

8 months ago