@harvest-profit/npk
Version:
NPK UI Design System
18 lines (14 loc) • 457 B
text/typescript
import InputComponent from './Input';
import NumberInput from './NumberInput';
import Group from './Group';
type Input = typeof InputComponent & {
Group: typeof Group;
Number: typeof NumberInput;
};
const Input = InputComponent as Input;
Input.Group = Group;
Input.Number = NumberInput;
export default Input;
export type { InputProps } from './Input';
export type { GroupProps } from './Group';
export type { NumberInputProps } from './NumberInput';