Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | 9x 10x 9x 9x 9x 9x 9x 9x | import React from 'react'; import { Provider } from './store'; import { Container, ContainerProps } from './Container'; import { Block } from './Block'; import { Textarea } from './Textarea'; import { Select } from './Select'; import { Input } from './Input'; import { Button } from './Button'; export * from './Input'; export * from './Textarea'; export * from './Select'; export * from './Block'; export * from './Button'; export * from './Container'; export * from './Render'; export * from './store'; export interface LoginRef {} export interface LoginProps extends React.HTMLAttributes<HTMLDivElement> {} type LoginComponent = React.FC<React.PropsWithRef<LoginProps>> & { Block: typeof Block; Button: typeof Button; Input: typeof Input; Textarea: typeof Textarea; Select: typeof Select; }; const Login: LoginComponent = React.forwardRef<HTMLDivElement, ContainerProps>((props, ref) => { return ( <Provider> <Container {...props} ref={ref} /> </Provider> ); }) as unknown as LoginComponent; Login.Block = Block; Login.Button = Button; Login.Input = Input; Login.Textarea = Textarea; Login.Select = Select; Login.displayName = 'Login'; export default Login; |