# salman-sb-demo

> my aim is to make codding fast and simple....

Latest version **2.0.0** (published 2022-08-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install salman-sb-demo
pnpm add salman-sb-demo
yarn add salman-sb-demo
bun add salman-sb-demo
```

## Health

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

Positive: has types; esm support; no vulnerabilities; high quality score.

Warnings: low downloads.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.0.0 |
| Published | 2022-08-10 |
| First published | 2022-06-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Node | >=10 |
| Dependencies | 11 |
| Unpacked size | 233.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | salman-bp |
| Maintainers | salmanbitspro |

## Links

- npm: https://www.npmjs.com/package/salman-sb-demo
- npm.io page: https://npm.io/package/salman-sb-demo

## Dependencies (11)

- [cssnano](https://npm.io/package/cssnano.md) ^5.1.12
- [autoprefixer](https://npm.io/package/autoprefixer.md) ^10.4.8
- [@mui/material](https://npm.io/package/@mui/material.md) ^5.8.5
- [@emotion/react](https://npm.io/package/@emotion/react.md) ^11.9.3
- [@emotion/styled](https://npm.io/package/@emotion/styled.md) ^11.9.3
- [react-router-dom](https://npm.io/package/react-router-dom.md) ^6.3.0
- [styled-components](https://npm.io/package/styled-components.md) ^5.3.5
- [@mui/icons-material](https://npm.io/package/@mui/icons-material.md) ^5.8.4
- [@mui/styled-engine-sc](https://npm.io/package/@mui/styled-engine-sc.md) ^5.8.0
- [rollup-plugin-postcss](https://npm.io/package/rollup-plugin-postcss.md) ^4.0.2
- [@testing-library/react](https://npm.io/package/@testing-library/react.md) ^13.3.0

## Recent versions

- 2.0.0 (latest) — 2022-08-10
- 1.47.0 — 2022-08-10
- 1.46.0 — 2022-07-06
- 1.45.0 — 2022-07-06
- 1.44.0 — 2022-07-06
- 1.43.0 — 2022-07-06
- 1.42.0 — 2022-07-06
- 1.41.0 — 2022-07-06
- 1.40.0 — 2022-07-06
- 1.39.0 — 2022-07-06
- 1.38.0 — 2022-07-04
- 1.37.0 — 2022-07-04
- 1.36.0 — 2022-07-04
- 1.35.0 — 2022-07-01
- 1.33.0 — 2022-07-01
- … 32 more at https://npm.io/package/salman-sb-demo/versions

## README

# salman-sb-demo

my aim is to make codding fast and simple....

## installation..

```bash

   npm i salman-sb-demo

```

## module..

thats all are the module which is exported from this package...

```bash
SalmanButton
SalmanCounter
SalmanImageDragDrop
SalmanInput
SalmanTabs
SalmanCountDownTimmer
SalmanCountDownStartEnd
```

## SalmanImageDragDrop

example

```javascript
<SalmanImageDragDrop
  onChange={file => {
    console.log('file', file);
  }}
/> // on change return file
```

### some of props of SalmanImageDragDrop

```bash
  onchange,
  onBlur,
  helperText,
  error = false,
  minHeight,
  height = '204px',
```

## SalmanInput

```javascript
    <SalmanInput  onChange={} type="text" placeholder={"enter text"} borderRadius="20px">
```

### SalmanInput props

```bash
  padding?: string;
  type: string;
  placeholder: string;
  borderRadius: string;
  width?: string;
  and any HTML input element args...
```

## SalmanTabs

Example default

```javascript
<SalmanTabs
  item={[
    { text: 'Home', icon: <HomeIcon /> }, //Mui icon is used here
    { text: 'About', icon: <HomeIcon /> }, //Mui icon is used here
    { text: 'Contact', icon: <HomeIcon /> }, //Mui icon is used here
  ]}
  {...args}
/>
```

```bash

onChange function return tabs index value that array you passed


some of arguments or props of this module
item, // item is liste this [{text: Home, icon: <HomeIcon>}] in this module is use Material ui Icons
onChange, // this function return a tabs index value
maxWidth = '500px',
fontSize = '22px',
iconSize = '16px',
color = '#707a83',
iconColor,
activecolor = '#353840',
scrollThumbColor,
activeUnderline = true,



```

## SalmanCountDownTimmer

SalmanCountDownTimmer element just have endDateTime props once the current time is equal or greater than endDateTime that you passed it will automatically stop and showing the endText...

```javascript
//example

<SalmanCountDownTimmer endDateTime={2657092278} />
```

### SalmanCountDownTimmer props

```bash
  endDateTime?: string;
  timerEndText?: string;
  endTextSize?: string;
  gap?: number;
  color?: string;
  timeHeadinSize?: string;
  timeTextSize?: string;
```

## SalmanCountDownStartEnd

in SalmanCountDownStartEnd element there is two things startDateTime or endDateTime user should pass start and End DateTime so that if the start DateTime is greater than current time then it shows timerStartText and if start DateTime is less than the current time then there shows counter after if the counter ends then it shows timerEndText automatically...

```javascript
// example

<SalmanCountDownStartEnd startDateTime={1557092278} endDateTime={2657092278} />
```

### SalmanCountDownTimmer props

```bash
  endDateTime?: number | string;
  startDateTime?: number | string;
  timerEndText?: string;
  timerStartText?: string;
  timerStartSize?: string;
  gap?: number;
  color?: string;
  timeHeadinSize?: string;
  timeTextSize?: string;
  timerEndSize?: string;
```

## MSG

Keep working and hardworking to become a successful developer :). if you want any other element or module so please drop tweet and tag me @itsshanshaikh ...

## Contributor

Muhammad Salman github muhammadsalman-coder

## License

[MIT](https://choosealicense.com/licenses/mit/)

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