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
When specify icon to ActionSheetButton, the icon is not rendered. Here is link to reproduce https://stackblitz.com/edit/tcrhwk?file=src%2Fmain.tsx
`import React from 'react'; import { IonActionSheet, IonButton } from '@ionic/react';
function Example() { return ( <> Open <IonActionSheet trigger="open-action-sheet" header="Actions" buttons={[ { text: 'Delete', role: 'destructive', icon: 'close', data: { action: 'delete', }, }, { text: 'Share', icon: 'arrow-redo', data: { action: 'share', }, }, { text: 'Cancel', role: 'cancel', data: { action: 'cancel', }, }, ]} > </> ); } export default Example;`
Should show close icon for action delete button, and arrow-redo icon for action share button
Run the link https://stackblitz.com/edit/tcrhwk?file=src%2Fmain.tsx
No response
Windows
Chrome
129
The text was updated successfully, but these errors were encountered:
@sean-perkins any comment please?
Sorry, something went wrong.
No branches or pull requests
Describe the Bug
When specify icon to ActionSheetButton, the icon is not rendered. Here is link to reproduce https://stackblitz.com/edit/tcrhwk?file=src%2Fmain.tsx
`import React from 'react';
import { IonActionSheet, IonButton } from '@ionic/react';
function Example() {
return (
<>
Open
<IonActionSheet
trigger="open-action-sheet"
header="Actions"
buttons={[
{
text: 'Delete',
role: 'destructive',
icon: 'close',
data: {
action: 'delete',
},
},
{
text: 'Share',
icon: 'arrow-redo',
data: {
action: 'share',
},
},
{
text: 'Cancel',
role: 'cancel',
data: {
action: 'cancel',
},
},
]}
>
</>
);
}
export default Example;`
Expected Behavior
Should show close icon for action delete button, and arrow-redo icon for action share button
Steps to Reproduce
Run the link https://stackblitz.com/edit/tcrhwk?file=src%2Fmain.tsx
Screenshots
No response
Operating System
Windows
Browser
Chrome
Version
129
Additional Information
No response
The text was updated successfully, but these errors were encountered: