Rename snippet

Rename all occurrences of `snippet` to `component`