UNPKG

@selfcommunity/react-ui

Version:

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

33 lines (24 loc) 914 B
import React from 'react'; import { IconButtonProps } from '@mui/material'; export interface NavigationSettingsItem { label: React.ReactNode; href: string; } export interface NavigationSettingsIconButtonProps extends IconButtonProps { items?: NavigationSettingsItem[]; } /** * > API documentation for the Community-JS Navigation Settings Icon Button component. Learn about the available props and the CSS API. #### Import ```jsx import {ComposerIconButton} from '@selfcommunity/react-ui'; ``` #### Component Name The name `SNavigationSettingsIconButton` can be used when providing style overrides in the theme. #### CSS |Rule Name|Global class|Description| |---|---|---| |root|.SNavigationSettingsIconButton-root|Styles applied to the root element.| * @param inProps */ export default function NavigationSettingsIconButton(inProps: NavigationSettingsIconButtonProps): JSX.Element;