Skip to content

Commit

Permalink
Update readme Button example code (#4436)
Browse files Browse the repository at this point in the history
  • Loading branch information
origami-z authored Dec 10, 2024
1 parent 4bcfb82 commit c71a088
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ yarn add @salt-ds/core @salt-ds/theme @salt-ds/lab @salt-ds/icons

You will then need to import the .css files into your application, along with any components that you plan to use.

Here’s a quick example of a Call-to-Action (CTA) button for your reference:
Here’s a quick example of button for your reference:

```JSX
import { Button, SaltProvider } from "@salt-ds/core";
Expand All @@ -52,7 +52,7 @@ import "@salt-ds/theme/index.css";
function App() {
return (
<SaltProvider>
<Button variant="cta">CTA Button</Button>
<Button sentiment="accented" appearance="solid">Button</Button>
</SaltProvider>
);
}
Expand Down

0 comments on commit c71a088

Please sign in to comment.