From 7337e195d1c44d974c7e5512ee41ba2039b63b24 Mon Sep 17 00:00:00 2001 From: Michael Cousins Date: Fri, 2 Aug 2024 07:51:57 -0400 Subject: [PATCH] Test: add `createToastContext` fixture (#550) --- packages/core/README.md | 44 +++++++++++++++++++-- packages/core/package.json | 6 ++- packages/core/src/lib/__fixtures__/index.ts | 40 +++++++++++++++++++ packages/core/src/lib/toast/context.ts | 2 +- 4 files changed, 86 insertions(+), 6 deletions(-) create mode 100644 packages/core/src/lib/__fixtures__/index.ts diff --git a/packages/core/README.md b/packages/core/README.md index 6134bef6..627f63fc 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -35,7 +35,9 @@ Import the stylesheet. If you are using [SvelteKit][], you can do this in `src/r import '@viamrobotics/prime-core/prime.css'; ``` -You can now use the components in your app: +## Usage + +Once installed, you can use the components in your app: ```html