diff --git a/packages/core/README.md b/packages/core/README.md index bd954c6..c1b4b94 100644 --- a/packages/core/README.md +++ b/packages/core/README.md @@ -99,16 +99,17 @@ interface Props extends HTMLAttributes<"svg"> { * References a specific Icon */ name: string; + "is:inline"?: boolean; title?: string; - size?: number; - width?: number; - height?: number; + size?: number | string; + width?: number | string; + height?: number | string; } ``` The `Icon` also accepts any global HTML attributes and `aria` attributes. They will be forwarded to the rendered `` element. - -See the [`Props.ts`](./packages/core/lib/Props.ts) file for more details. +https://github.com/natemoo-re/astro-icon/blob/main/packages/core/components/Icon.astro#L10-L17 +See the [`Props.ts`](./packages/core/components/Icon.astro#L10-L17) file for more details. ### Styling