@fluid-topics/ft-file-button
v1.3.50
Published
File
Readme
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-buttonUsage
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> `
}