UNPKG

@selfcommunity/react-ui

Version:

React UI Components to integrate a Community created with SelfCommunity Platform.

64 lines (55 loc) 1.77 kB
import React from 'react'; import { ButtonProps, TextFieldProps } from '@mui/material'; export interface AccountRecoverProps { /** * Overrides or extends the styles applied to the component. * @default null */ className?: string; /** * Default props to TextField Input * @default {variant: 'outlined'} */ TextFieldProps?: TextFieldProps; /** * Default props to submit button Input * @default {variant: 'contained'} */ ButtonProps?: ButtonProps; /** * Callback triggered on success sign in * @default null */ onSuccess?: () => void; /** * Action component to display after success message * */ successAction?: React.ReactNode; /** * Other props */ [p: string]: any; } /** * > API documentation for the Community-JS Categories component. Learn about the available props and the CSS API. * * * The Categories component renders the list of all available categories. * Take a look at our <strong>demo</strong> component [here](/docs/sdk/community-js/react-ui/Components/AccountRecover) #### Import ```jsx import {AccountVerify} from '@selfcommunity/react-ui'; ``` #### Component Name The name `SCAccountRecover` can be used when providing style overrides in the theme. #### CSS |Rule Name|Global class|Description| |---|---|---| |root|.SCAccountRecover-root|Styles applied to the root element.| |form|.SCAccountRecover-form|Styles applied to the form element.| |email|.SCAccountRecover-email|Styles applied to the email TextField.| |success|.SCAccountRecover-success|Styles applied to the success Typography.| * * @param inProps */ export default function AccountRecover(inProps: AccountRecoverProps): JSX.Element;