@adoptaunabuelo/react-components 0.1.4 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -3,7 +3,7 @@ A simple, customizable, and accessible library of React components
3
3
 
4
4
  [![npm latest package](https://img.shields.io/npm/v/@adoptaunabuelo/react-components/latest.svg)](https://www.npmjs.com/package/@adoptaunabuelo/react-components)
5
5
  [![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/mui/material-ui/blob/HEAD/LICENSE)
6
- <a href="https://www.chromatic.com/library?appId=64650038c7589bed568201a8" target="_blank"><img src="https://raw.githubusercontent.com/storybooks/brand/master/badge/badge-storybook.svg"></a>
6
+ <a href="https://64650038c7589bed568201a8-eaedthpnzo.chromatic.com" target="_blank"><img src="https://raw.githubusercontent.com/storybooks/brand/master/badge/badge-storybook.svg"></a>
7
7
 
8
8
  ## Installation
9
9
 
@@ -46,7 +46,7 @@ function App() {
46
46
 
47
47
  You can checkout all the library Components and its docs in our storybook
48
48
 
49
- [Open the Storybook](https://www.chromatic.com/library?appId=64650038c7589bed568201a8)
49
+ [Open the Storybook](https://64650038c7589bed568201a8-eaedthpnzo.chromatic.com)
50
50
 
51
51
  ## Changelog
52
52
 
@@ -1,5 +1,5 @@
1
1
  import { ComponentPropsWithoutRef } from 'react';
2
- declare const BreadCrumb: (props: Props) => import("react/jsx-runtime").JSX.Element;
2
+ declare const BreadCrumb: ({ steps, ...props }: Props) => import("react/jsx-runtime").JSX.Element;
3
3
  export default BreadCrumb;
4
4
  export interface Props extends ComponentPropsWithoutRef<"div"> {
5
5
  selectedStep?: number;
@@ -0,0 +1,9 @@
1
+ import { ComponentPropsWithoutRef } from 'react';
2
+ declare const FeedBack: ({ type, isVisible, ...props }: Props) => import("react/jsx-runtime").JSX.Element | null;
3
+ export default FeedBack;
4
+ export interface Props extends ComponentPropsWithoutRef<"div"> {
5
+ isVisible: boolean;
6
+ type: 'success' | 'error';
7
+ text: string;
8
+ onClose?: () => void;
9
+ }
@@ -1,3 +1,4 @@
1
1
  export { default as BreadCrumb } from './BreadCrumb/BreadCrumb';
2
2
  export { default as Text } from './Text/Text';
3
3
  export { default as ProgressBar } from './ProgressBar/ProgressBar';
4
+ export { default as Feedback } from './Feedback/Feedback';