@fluid-topics/ft-file-button
TypeScript icon, indicating that this package has built-in type declarations

1.1.43 • Public • Published

A button that opens a window to select a file to upload.

Install

npm install @fluid-topics/ft-file-button
yarn add @fluid-topics/ft-file-button

Usage

import { html } from "lit"
import "@fluid-topics/ft-file-button"

function render() {
    return html` <ft-file-button accept="*.pdf">Upload a file</ft-file-button> `
}

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.43
    7
    • latest

Version History

Package Sidebar

Install

npm i @fluid-topics/ft-file-button

Weekly Downloads

232

Version

1.1.43

License

ISC

Unpacked Size

418 kB

Total Files

12

Last publish

Collaborators

  • antidot
  • mike.antidot