F
Filament16mo ago
i74ifa

Can i inject methods to Component like input

i need to inection a new method to input component like trait use Cloneable; use HasActions;
2 Replies
Patrick Boivin
Patrick Boivin16mo ago
You can try to extend the class in your own project and use that:
class MyTextInput extends TextInput
{
// ...
}
class MyTextInput extends TextInput
{
// ...
}
i74ifa
i74ifaOP16mo ago
Okay i like it, thank you patrick
Want results from more Discord servers?
Add your server