mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 14:57:59 -05: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;
|
|
}
|