We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import { Input } from "@/components/ui/input" import { Label } from "@/components/ui/label" export function InputFile() { return ( <div className="grid w-full max-w-sm items-center gap-1.5"> <Label htmlFor="picture">Picture</Label> <Input id="picture" type="file" /> </div> ) }
参考这个代码,实现选择图片并预览的逻辑
The text was updated successfully, but these errors were encountered:
No branches or pull requests
参考这个代码,实现选择图片并预览的逻辑
The text was updated successfully, but these errors were encountered: