fix: payload building issues
This commit is contained in:
@@ -10,7 +10,7 @@ interface Props {
|
||||
}
|
||||
|
||||
const { name, size = 'md', class: className = '', filled = false, ariaLabel } = Astro.props;
|
||||
const sizes: Record = {
|
||||
const sizes: Record<NonNullable<Props['size']>, string> = {
|
||||
sm: 'text-[18px]',
|
||||
md: 'text-[20px]',
|
||||
lg: 'text-[24px]',
|
||||
|
||||
Reference in New Issue
Block a user