From e5737f2c7346784db9b89b9d3c1d18acf10adaa3 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Sun, 8 Dec 2024 14:34:32 -0500 Subject: [PATCH] docs(icon): remove custom icon section --- docs/pages/components/icon.md | 52 +++++++++++++++++++++++------------ 1 file changed, 34 insertions(+), 18 deletions(-) diff --git a/docs/pages/components/icon.md b/docs/pages/components/icon.md index 4314f7d..65d401f 100644 --- a/docs/pages/components/icon.md +++ b/docs/pages/components/icon.md @@ -172,22 +172,6 @@ import SlIcon from '@onsonr/nebula/dist/react/icon'; const App = () => ; ``` -### Custom Icons - -Custom icons can be loaded individually with the `src` attribute. Only SVGs on a local or CORS-enabled endpoint are supported. If you're using more than one custom icon, it might make sense to register a [custom icon library](#icon-libraries). - -```html:preview - -``` - -{% raw %} - -```jsx:react -import SlIcon from '@onsonr/nebula/dist/react/icon'; - -const App = () => ; -``` - {% endraw %} ## Icon Libraries @@ -211,11 +195,33 @@ Icons sourced from our internal style guide. ```html:preview
- + + + + + + + + + + + + + + + + + + + + + + + + -
``` @@ -228,6 +234,7 @@ All Caps ticker symbol for the icon. ```html:preview
+ @@ -239,6 +246,15 @@ All Caps ticker symbol for the icon. + + + + + + + + +
```