fix(select-item): define class and style props

This commit is contained in:
Eric Liu 2023-11-05 07:32:57 -08:00 committed by metonym
commit ebfa9ab62b
5 changed files with 59 additions and 9 deletions

View file

@ -24,6 +24,18 @@ export interface SelectItemProps {
* @default false
*/
disabled?: boolean;
/**
* Specify the class of the `option` element
* @default undefined
*/
class?: string;
/**
* Specify the style of the `option` element
* @default undefined
*/
style?: string;
}
export default class SelectItem extends SvelteComponentTyped<