-
Notifications
You must be signed in to change notification settings - Fork 418
New issue
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
Add Files Component #1879
Labels
Comments
Here is my initial prop proposal for the component, what do you think? File
Here are some basic examples using these specs - <div>
<File
title="Image Title"
type="image"
onClick="{...}"
>
<File
placeholder="..."
onClick="{...}"
>
<File
title="Proposal.pdf"
type="pdf"
placeholder="..."
onClick="{...}"
downloadURL="..."
>
<File
placeholder="..."
onClick="{...}"
downloadURL="..."
>
<File
title="Proposal.pdf"
type="pdf"
onClick="{...}"
externalIcon="..."
>
<File
placeholder="..."
title="Image Title"
type="image"
onClick="{...}"
isLoading
>
<File
title="Maui By Air The Best Way Around The Island"
description="Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt"
onClick="{...}"
>
</div> Currently doesn't have support for handling multiple files in groups. |
Closed
I still need to look at this closer, but my initial thoughts are:
|
I will try to get also you additional feedback on Files tomorrow. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Implement the Files component according to spec: https://www.lightningdesignsystem.com/components/files/
I am currently working on the same and will post an initial prop proposal soon.
The text was updated successfully, but these errors were encountered: