1.1.4 • Published 4 years ago
initials-placeholder-react v1.1.4
INITIALS PLACEHOLDER
A react package that uses parsed initials as placeholders. Can be used as a substitute for absent user profile photo
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 ✨
- Fork it!
- Create your feature branch:
git checkout -b feature-name
- Commit your changes:
git commit -am 'Some commit message'
- Push to the branch:
git push origin feature-name
- Submit a pull request 😉😉
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