(props: ToastRootComponentProps)
| 25 | } |
| 26 | |
| 27 | function ToastRoot(props: ToastRootComponentProps) { |
| 28 | return ( |
| 29 | <Kobalte |
| 30 | data-component="toast" |
| 31 | classList={{ |
| 32 | ...(props.classList ?? {}), |
| 33 | [props.class ?? ""]: !!props.class, |
| 34 | }} |
| 35 | {...props} |
| 36 | /> |
| 37 | ) |
| 38 | } |
| 39 | |
| 40 | function ToastIcon(props: { name: IconProps["name"] }) { |
| 41 | return ( |
nothing calls this directly
no outgoing calls
no test coverage detected