-
-
Notifications
You must be signed in to change notification settings - Fork 984
Closed
Labels
PRs WelcomeAn issue which might not be prioritized right away but would be open to community contributionAn issue which might not be prioritized right away but would be open to community contributiontypescriptrelating to typescript or typesrelating to typescript or types
Description
Describe the bug
Your Example Website or App
none
Steps to Reproduce the Bug or Issue
function App() {
return (
<>
<s-button>
<svg slot="start" xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960">
<path d="M382-240 154-468l57-57 171 171 367-367 57 57-424 424Z"></path>
</svg>
</s-button>
</>
)
}
Expected behavior
The slot attribute should be added optionally as slot?: string in the interface SvgSVGAttributes {}.
Screenshots or Videos
No response
Platform
- OS: [e.g. macOS, Windows, Linux]
- Browser: [e.g. Chrome, Safari, Firefox]
- Version: [e.g. 91.1]
Additional context
No response
Metadata
Metadata
Assignees
Labels
PRs WelcomeAn issue which might not be prioritized right away but would be open to community contributionAn issue which might not be prioritized right away but would be open to community contributiontypescriptrelating to typescript or typesrelating to typescript or types