---
title: Exports
---
Anything exported from a `context="module"` script block becomes an export from the module itself. If we export a `stopAll` function from `AudioPlayer.svelte`...
```svelte
```
...we can then import it in `App.svelte`...
```svelte
```
...and use it in an event handler:
```svelte
```
> You can't have a default export, because the component _is_ the default export.