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

1.1.68 • 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> `
}

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

    Package Sidebar

    Install

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

    Weekly Downloads

    253

    Version

    1.1.68

    License

    ISC

    Unpacked Size

    427 kB

    Total Files

    12

    Last publish

    Collaborators

    • antidot
    • mike.antidot