UNPKG

jobiqo-cl

Version:

[![CircleCI](https://circleci.com/gh/jobiqo/jobiqo-cl.svg?style=svg&circle-token=5a24efa5b8bbc4879276123e77d0d3f35ca7144c)](https://circleci.com/gh/jobiqo/jobiqo-cl)

34 lines (33 loc) 866 B
/** * @file index.tsx * * @fileoverview Shows a form with an image on the side. */ import React from 'react'; export interface FormWithImageProps { /** * Text for the button * * @default null */ children?: React.ReactNode; /** * The image to be displayed next to the form. */ image: string; /** * Alt title for the image. */ alt: string; /** * The title for the image. */ title: string; } /** * Places the form on the center of the page with an image on the side. * Useful for login or register pages where what we want the user to do is very clear. * It makes the main action and form very clear. Shouldn't be used for very long forms. */ export declare const FormWithImage: ({ children, image, alt, title }: FormWithImageProps) => JSX.Element; export default FormWithImage;