---
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`...
```html
```
...we can then import it from `App.svelte`...
```html
```
...and use it in an event handler:
```html
```
> You can't have a default export, because the component *is* the default export.