mirror of
https://github.com/OpenHands/OpenHands.git
synced 2025-12-26 05:48:36 +08:00
17 lines
339 B
TypeScript
17 lines
339 B
TypeScript
export type BaseProps = {
|
|
className?: string;
|
|
testId?: string;
|
|
};
|
|
|
|
export type HTMLProps<T extends React.ElementType> = Omit<
|
|
React.ComponentPropsWithoutRef<T>,
|
|
"children" | "style" | "className"
|
|
>;
|
|
|
|
export type ComponentVariant = "primary" | "secondary" | "tertiary";
|
|
|
|
export interface IOption<T> {
|
|
label: string;
|
|
value: T;
|
|
}
|