feat(text-input): support read-only variant

This commit is contained in:
Eric Y Liu 2021-06-26 18:34:36 -07:00
commit 4aceb6c95a
5 changed files with 36 additions and 5 deletions

View file

@ -104,10 +104,16 @@ export interface TextInputProps
required?: boolean;
/**
* Set to `true` to use inline version
* Set to `true` to use the inline variant
* @default false
*/
inline?: boolean;
/**
* Set to `true` to use the read-only variant
* @default false
*/
readonly?: boolean;
}
export default class TextInput extends SvelteComponentTyped<