Parse directives inni React-komponentene