0.0.1 • Published 5 months ago

react-maker-widget v0.0.1

Weekly downloads
-
License
-
Repository
-
Last release
5 months ago

react-maker-widget

A simple widget to display the information of the maker of the webapp

How to use?

Install

npm i react-maker-widget

Example

import { MakerWidget } from "react-maker-widget";

const data = {
  name: "Dilpreet",
  avatar: "https://avatars.githubusercontent.com/u/12807846?v=4",
  twitter: "https://twitter.com/dilpreet",
  github: "",
  linkedin: "",
  website: "",
  projects: [
    {
      name: "Wowshot",
      description: "Create beautiful product videos",
      link: "https://wowshot.co",
    },
    {
      name: "Super designer",
      description: "A collection of design tools",
      link: "https://superdesigner.co",
    },
    {
      name: "Unicorn icons",
      description: "Animated icons for your next project",
      link: "https://unicornicons.com",
    },
  ],
};

function example() {
  return (
    <div>
      <MakerWidget
        name={data.name}
        avatar={data.avatar}
        projects={data.projects}
        twitter={data.twitter}
        github={data.github}
        linkedin={data.linkedin}
        website={data.website}
      />
    </div>
    )
}

Properties

properydescription
namename of the maker
avatara link of maker's avatar
twittertwitter link
linkedinlinkedin link
githubgithub link
websitewebsite link
projectsAn object of projects

Project object structure

projects: [
  {
    name: "Name of the project",
    description: "Description of the project",
    link: "Link of the project",
  },
  ...
]

License

MIT © dilpreetsio

0.0.1

5 months ago