Tools
This rule disallows the use of deprecated props in ink components. These props will eventually be deleted. Avoid using them to mitigate the risk of your product breaking in the near future.
Recommended severity: error
At the moment the components and props affected by this rule are:
Component | Prop | Replacement Prop |
---|---|---|
Alert | type | variant |
ListItem | statusColor | variant |
ListItem | statusIcon | variant |
ListItem | statusDashed | variant |
ListItem | statusInverse | variant |
ListItem | statusSpinner | variant= "pending" |
Monologue | marginBottom | Box bottom |
Monologue | marginTop | Box top |
NewInput | inputRef | externalRef |
Status | color | variant |
Status | icon | variant |
Status | isDashed | variant |
Status | isInverse | variant |
Status | isSpinner | variant= "pending" |
🚫 Incorrect code for this rule:
✅ Correct code for this rule:
To investigate how this rule works, check out this gist on AST Explorer.
Is this page helpful?