# skvsharedcomponents

> Demo component for POC

Latest version **1.0.2** (published 2022-09-20) · ISC license · 0 weekly downloads

## Install

```sh
npm install skvsharedcomponents
pnpm add skvsharedcomponents
yarn add skvsharedcomponents
bun add skvsharedcomponents
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.2 |
| Published | 2022-09-20 |
| First published | 2022-09-20 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 13.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | svrichard |
| Maintainers | chenrichard269 |
| Keywords | Button, Demo, POC, Shared |

## Links

- npm: https://www.npmjs.com/package/skvsharedcomponents
- Repository: https://github.com/sakthivelheartfulness/npmsvcomponents
- Homepage: https://github.com/sakthivelheartfulness/npmsvcomponents#readme
- Issues: https://github.com/sakthivelheartfulness/npmsvcomponents/issues
- npm.io page: https://npm.io/package/skvsharedcomponents

## Recent versions

- 1.0.2 (latest) — 2022-09-20

## README

# SV Shared Components

>   NPM Package Publishing from Github Workflow - POC

## Prerequisites

This project requires NodeJS (version 14 or later) and NPM.
[Node](http://nodejs.org/) and [NPM](https://npmjs.org/) are really easy to install.
To make sure you have them available on your machine,
try running the following command.

```sh
$ npm -v && node -v
8.12.1
v14.17.6
```

## Table of contents

- [Project Name](#project-name)
  - [Prerequisites](#prerequisites)
  - [Table of contents](#table-of-contents)
  - [Getting Started](#getting-started)
  - [Installation](#installation)
  - [Usage](#usage)
    - [Serving the app](#serving-the-app)
    - [Running the tests](#running-the-tests)
    - [Building a distribution version](#building-a-distribution-version)
  - [components](#components)
    - [Available Components](#available-components)
      - [Options](#options)
  - [Authors](#authors)
  - [License](#license)

## Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

## Installation

To install and set up the library, run:

```sh
$ npm install -S skvsharedcomponents
```

Or if you prefer using Yarn:

```sh
$ yarn add --dev skvsharedcomponents
```

## Usage

### Serving the app

```sh
$ npm start
```

### Running the tests

```sh
$ npm test
```

### Building a distribution version

```sh
$ npm run build
```

This task will create a distribution version of the project
inside your local `dist/` folder


## Components

### Available Components

```js
import {BasicButton, OutlineButton, Card } from 'skvsharedcomponents';
```

Supported options and result fields for the `Available Components` are listed below.

#### Options

`Basic Button`
```js
<BasicButton  buttonSize = "btn--wide" buttonColor = "red">Hello, User</BasicButton>
```
`Outline Button`
```js
<OutlineButton  buttonSize = "btn--wide" buttonBorderColor = "red-border">Hello, User</OutlineButton>
```

| Type | Default value |
| --- | --- |
| buttonSize | 'btn--wide', 'btn--large', 'btn--medium', 'btn--small' |
| buttonColor | 'primary', 'black', 'red' |


`Cards`

Props:

```tsx
 const card = {
    cardHeader:{
      image:"imge-url", 
      title:"title" // Eg.NEWS,Blog
    },
    cardBody:{
      date:"Date", // Eg.SEPT 23, 2022
      title:"title", // Eg.This is Title
      content:"content",
      button:"button text"
    }
  }

```
Usgae:

```tsx
<Card values={card}/>
```

## Authors

* **sakthivelheartfulness** - *Initial work* - [sakthivelheartfulness](https://github.com/sakthivelheartfulness)

See also the list of [contributors](https://github.com/sakthivelheartfulness/contributors) who participated in this project.

## License

[MIT License](https://andreasonny.mit-license.org/2019) © sakthivelheartfulness

---
_Source: https://npm.io/package/skvsharedcomponents · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
