Skip to content

Commit

Permalink
docs: Use slash import in first example (#3066)
Browse files Browse the repository at this point in the history
Updates the first example in readme to use slash imports

[category:Documentation]
  • Loading branch information
vibdev authored Dec 9, 2024
1 parent af0aae9 commit b537e8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ npm install @workday/canvas-kit-react

```tsx
import * as React from 'react';
import {SecondaryButton} from '@workday/canvas-kit-react';
import {SecondaryButton} from '@workday/canvas-kit-react/button';

<SecondaryButton>Button Label</SecondaryButton>;
```
Expand Down

0 comments on commit b537e8d

Please sign in to comment.