@sinco/react 1.0.15 → 1.0.16-rc.0

Sign up to get free protection for your applications and to get access to all the features.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sinco/react",
3
- "version": "1.0.15",
3
+ "version": "1.0.16-rc.0",
4
4
  "description": "package for the configuration of mui react sinco",
5
5
  "private": false,
6
6
  "license": "MIT",
@@ -1,15 +1,17 @@
1
- import { ReactNode } from "react";
2
- import { SxProps } from "@mui/material";
3
- export type DrawerPosition = "left" | "right";
1
+ import { ReactNode } from 'react';
2
+ import { SxProps } from '@mui/material';
3
+ export type DrawerPosition = 'left' | 'right';
4
4
  export interface DrawerComponentProperties {
5
5
  title: string;
6
6
  children: ReactNode;
7
7
  actions: ReactNode;
8
8
  showActions?: boolean;
9
9
  anchor?: DrawerPosition;
10
+ anchorActions: 'flex-end' | 'flex-start';
10
11
  width: string;
11
12
  open: boolean;
12
13
  onClose: () => void;
13
14
  sx?: SxProps;
14
15
  }
15
- export declare const DrawerComponent: ({ title, children, actions, showActions, anchor, width, open, onClose, sx, }: DrawerComponentProperties) => JSX.Element;
16
+ export declare const DrawerComponent: ({ title, children, actions, showActions, anchor, anchorActions, width, open, onClose, sx, }: DrawerComponentProperties) => JSX.Element;
17
+ export { DrawerComponent as Drawer };
@@ -1,8 +1,8 @@
1
1
  import React from 'react';
2
2
  interface FooterActionsProperties {
3
3
  labelChangeCounter: React.ReactNode;
4
- renderLeftContent?: React.ReactNode;
5
- renderRightContent?: React.ReactNode;
4
+ leftContent?: React.ReactNode;
5
+ rightContent?: React.ReactNode;
6
6
  }
7
- export declare const FooterActionComponent: ({ renderLeftContent, renderRightContent, labelChangeCounter, }: FooterActionsProperties) => JSX.Element;
7
+ export declare const FooterAction: ({ leftContent, rightContent, labelChangeCounter, }: FooterActionsProperties) => JSX.Element;
8
8
  export {};