mirror of
https://github.com/tabler/tabler.git
synced 2026-08-28 21:01:59 +04:00
Narrow component prop types, remove unused props and dead code (#2838)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -2,11 +2,11 @@
|
||||
import Icon from './Icon.astro'
|
||||
|
||||
interface Props {
|
||||
icon?: string
|
||||
class?: string
|
||||
}
|
||||
|
||||
const { icon = 'dots-vertical', class: className } = Astro.props
|
||||
const { class: className } = Astro.props
|
||||
const icon = 'dots-vertical'
|
||||
---
|
||||
|
||||
<div class:list={['dropdown', className]}>
|
||||
|
||||
Reference in New Issue
Block a user