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