1.0.5 • Published 3 months ago

codemen-clipboard v1.0.5

Weekly downloads
-
License
ISC
Repository
github
Last release
3 months ago

codemen-clipboard

Copy your content and store all previous copied content using local storage

Installation

Install codemen-clipboard with npm

  npm install codemen-clipboard@latest
  or
  yarn add codemen-clipboard@latest

Usage/Examples

import { useCodemenClipboard } from "codemen-clipboard"

function App() {
  const { copy, copiedItem, copiedItems, clearAll, clearAllCopiedItems, clearCopiedItem } = useCodemenClipboard();


  return <>
          <button className="me-4" onClick={() => copy("@thecodemen")}>COPY</button>
          <button className="me-4" onClick={() => clearAll()}>clearAll</button>
          <button className="me-4" onClick={() => clearAllCopiedItems()}>clearAllCopiedItems</button>
          <button className="me-4" onClick={() => clearCopiedItem()}>clearCopiedItem</button>
  </>
}

Usage/Component

import { useCodemenClipboard, CopyButton } from "codemen-clipboard"

function App() {

  const { copy } = useCodemenClipboard();
  
  return (
      <div>
        <CopyButton className="tailwind classes" onClick={() => copy("@thecodemen")} />
      </div>
  )
}

🚀 About Me

I'm Amit Sharma, a committed Full Stack Developer with a focus on JavaScript/TypeScript 💻 and the corresponding runtimes. I have a strong expertise in startups and have led the creation of applications from their birth utilising state-of-the-art online technology. By constantly experimenting with new technologies, I hope to improve the experiences of developers and end users. As a devoted fan of productivity, I'm dedicated to streamlining procedures and workflows to increase my efficacy as a developer.

🔗 Links

portfolio linkedin github

Contributing

This is open source project. Code

1.0.5

3 months ago

1.0.4

3 months ago

1.0.3

3 months ago

1.0.2

3 months ago

1.0.1

3 months ago

1.0.0

3 months ago