diff --git a/README.md b/README.md index 87809032..42ab48d9 100644 --- a/README.md +++ b/README.md @@ -127,16 +127,10 @@ Putting SVG files inside a`src/MODULE_NAME/icons` folder will add them to a per- Usage with the `Icon` React component: -```jsx +```tsx ``` -Usage with `Icon` VW component: - -```rb -<%= render(AblyUi::Core::Icon.new(name: "icon-gui-disclosure-arrow", size: "1rem", additional_css: "align-middle transform rotate-180 mr-4")) %> -``` - Usage without a component: ```html @@ -148,7 +142,7 @@ Usage without a component: Usage without a component, in React, with hover states. Note the [group](https://tailwindcss.com/docs/hover-focus-and-other-states#group-hover) class: -```jsx +```tsx