UXP from JSX

in UXP how to apply a custom filter