1.1.4 • Published 4 years ago

initials-placeholder-react v1.1.4

Weekly downloads
17
License
MIT
Repository
-
Last release
4 years ago

INITIALS PLACEHOLDER

A react package that uses parsed initials as placeholders. Can be used as a substitute for absent user profile photo

npm.io

npm i initials-placeholder-react
# OR
yarn add initials-placeholder-react

Example

import React from "react";
import InitialsPlaceholder from "initials-placeholder-react";

function App() {
  return (
    <>
      <InitialsPlaceholder value="Ize Ozorku" />
    </>
  );
}

export default App;

Props

  • value: Holds the value name e.g Adavize Ozorku
  • bgColor: Background color e.g #0366D6 OR blue
  • textColor: Text color
  • size: Size of placeholder
  • fontSize: Size of font

How to contribute ✨

  1. Fork it!
  2. Create your feature branch: git checkout -b feature-name
  3. Commit your changes: git commit -am 'Some commit message'
  4. Push to the branch: git push origin feature-name
  5. Submit a pull request 😉😉

follow me on twitter!

License

This project is licensed under the MIT License - see the LICENSE.md file for details

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago

1.0.0

4 years ago

0.2.1

4 years ago

0.2.2

4 years ago

0.2.0

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago