UNPKG

doj-react-adminlte

Version:

Simple and easy-to-use AdminLTE components for React

33 lines (27 loc) 934 B
import * as React from 'react'; export type DropdownButtonMenuAlignment = "left" | "right"; export interface DropdownButtonProps { /** * className gets and sets the value of the class attribute of the specified element. You can also add a CSS class in this prop to style a particular element. */ className?: string; /** * Set to true to disable the button if empty. */ disabledIfEmpty?: boolean; /** * Label of the button. */ label?: string; /** * You can set the alignment of the DropdownButton in this prop. */ menuAlignment?: DropdownButtonMenuAlignment; /** * You can bind a complex function that will manipulate the label of the button. */ renderButtonLabel?: (...args: any[])=>any; } export default class DropdownButton extends React.Component<DropdownButtonProps, any> { render(): JSX.Element; }