-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(components): Expose
Selection
type for easy usage with Table
…
… and other components (#4195) * feat(components): Expose `Selection` type for easy usage with `Table` and other components * Create polite-plants-deliver.md
- Loading branch information
Showing
3 changed files
with
19 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
"@marigold/components": patch | ||
--- | ||
|
||
feat(components): Expose `Selection` type for easy usage with `Table` and other components | ||
|
||
When working with a `<Table>` you can now use | ||
|
||
```ts | ||
import type { Selection } from '@marigold/components'; | ||
``` | ||
|
||
instead of creating the type. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
export * from './types'; | ||
export * from './hooks'; | ||
|
||
export * from './Accordion'; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
/** | ||
* Re-export type from `react-aria` for DX. | ||
*/ | ||
|
||
export type { Selection } from '@react-types/shared'; |