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
<Button href={'data:text/json;charset=utf-8,${encodeURIComponent(JSON.stringify(tasss))}'} color="gray" className="w-full mb-2" download={"filename.json"}> Download Json </Button>
I write button for downloading buffered data and it's working but i can't compile. I got the error:
Type '{ children: string; href: string; color: string; className: string; download: string; }' is not assignable to type 'IntrinsicAttributes & { href?: string; color?: keyof FlowbiteColors; fullSized?: boolean; gradientDuoTone?: keyof ButtonGradientDuoToneColors; ... 10 more ...; theme?: { ...; }; } & AsProp<...> & { ...; } & Omit<...> & { ...; }'. Property 'download' does not exist on type 'IntrinsicAttributes & { href?: string; color?: keyof FlowbiteColors; fullSized?: boolean; gradientDuoTone?: keyof ButtonGradientDuoToneColors; ... 10 more ...; theme?: { ...; }; } & AsProp<...> & { ...; } & Omit<...> & { ...; }'. Did you mean 'onLoad'?ts(2322)
In default html button exist "download" attribute .
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Steps to reproduce
Current behavior
I write button for downloading buffered data and it's working but i can't compile. I got the error:
Expected behavior
In default html button exist "download" attribute
.
The text was updated successfully, but these errors were encountered: