2.0.1 • Published 2 years ago
react-devdotto v2.0.1
react-devdotto
Embed your Posts on Dev.to into your React Project.
Installation
using NPM:
npm install --save react-devdotto
using YARN:
yarn add react-devdotto
Usage
import DevDotTo from "react-devdotto";
const App = () => {
return (
<DevDotTo
username="genialkartik"
coverimage={true}
darkMode={true}
hideTags={false}
numberOfPosts={5}
/>
);
};
export default App;
Props
Props of the DevDotTo
component are avilable below.
Name | Type | Default | Description |
---|---|---|---|
username | string | genialkartik | username can be found on dev.to platform |
coverimage | boolean | true | if false , feature image (cover image) will be replace with description of the blog. |
darkMode | boolean | true | toggle to false , to view blogs list in light mode. |
hideTags | boolean | false | use to hide tags in blogs list. |
numberOfPosts | number | get specific number of posts. |
Contribute
- Fork or Clone this Repository.
- Navigate
cd react-devdotto
. - run
npm install
to install all required dependencies. - Make changes or fix bug.
- Make sure to run build
npm build
before commiting all changes. Raise a pull request.
Now lemme buy you a coffee :coffee:.
License
MIT © genialkartik
2.0.1
2 years ago
2.0.0
2 years ago
1.2.8
4 years ago
1.2.9
4 years ago
1.2.7
4 years ago
1.2.6
4 years ago
1.2.5
4 years ago
1.2.4
4 years ago
1.2.2
4 years ago
1.2.1
4 years ago
1.2.0
4 years ago
1.0.1
4 years ago
1.1.6
4 years ago
1.1.5
4 years ago
1.1.4
4 years ago
1.0.4
4 years ago
1.0.3
4 years ago
1.0.2
4 years ago
1.0.0
4 years ago