fix(select-item): export class and style props (#1840)

Closes #1839
This commit is contained in:
Eric Liu 2023-11-07 18:58:45 -08:00 committed by GitHub
commit a9460e944d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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<