liber-salti
Version:
Saltí - Liber Design System
29 lines (28 loc) • 602 B
TypeScript
import React from 'react';
import { IconName } from '../Icon/Icon.types';
export interface AppBarProps {
/**
* The color of the component.
*/
color?: 'default' | 'primary';
/**
* The company logo.
*/
logo?: string;
/**
* The title of the component.
*/
title?: string;
/**
* The icon on the left.
*/
iconName?: IconName;
/**
* The left icon click callback.
*/
onClick?: () => void;
/**
* The button or iconButton on the right.
*/
secondaryAction?: React.ReactNode;
}