-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(redmine 1273832): update items and ButtonsListOrDropdown
- Loading branch information
vapersmile
committed
Jan 19, 2024
1 parent
d9293e2
commit e561858
Showing
2 changed files
with
7 additions
and
6 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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
import type { IOption } from '../../dist'; | ||
import type { ReactNode } from 'react'; | ||
|
||
export interface IItem<T> { | ||
label: ReactNode; | ||
value: T; | ||
export interface IItem<T> extends IOption<T> { | ||
content?: ReactNode; | ||
} | ||
|
||
export type IItems<T> = IItems<T>[]; | ||
export type IItems<T> = IItem<T>[]; |
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