@denali-design/react
Version:
React.JS component library for the Denali CSS Framework
44 lines • 1.28 kB
TypeScript
/**
* Copyright 2020, Verizon Media
* Licensed under the terms of the MIT license. See accompanying LICENSE.md file for terms.
*/
import React from 'react';
export declare const DnTags: {
({ nowrap, children, className, ...rest }: DnTagsProps): JSX.Element;
defaultProps: {
nowrap: boolean;
className: string;
};
Tag: {
({ isActive, isDisabled, isOutlined, size, frontIconComponent, backIconComponent, children, className, ...rest }: DnTagItemProps): JSX.Element;
defaultProps: {
isActive: boolean;
isDisabled: boolean;
isOutlined: boolean;
size: DnTagSizes;
className: string;
frontIconComponent: null;
backIconComponent: null;
};
};
};
export interface DnTagsProps {
nowrap?: boolean;
children: React.ReactNode;
className?: string;
}
export declare enum DnTagSizes {
small = "small",
default = "default"
}
export interface DnTagItemProps {
isActive?: boolean;
isDisabled?: boolean;
isOutlined?: boolean;
size?: DnTagSizes;
children: React.ReactNode;
className?: string;
frontIconComponent?: React.ReactNode;
backIconComponent?: React.ReactNode;
}
//# sourceMappingURL=DnTags.d.ts.map