If you type one of your props as a Style from '@inductiveautomation/perspective-client';, the class instance should have some helper methods:

Which you're able to use in your TSX:

If you type one of your props as a Style from '@inductiveautomation/perspective-client';, the class instance should have some helper methods:

Which you're able to use in your TSX:
