Skip to content

Commit e4b364d

Browse files
AregSoftAreg HakobyanAbrahamyanKarenGaroGabrielyan
authored
feat(Empty): new component (#320)
* feat(Empty): component boilerplate * feat(Empty): component UI * feat(Empty): add props, story and tests * refactor(Empty): add actions prop to get actions * feat(Empty): add images for component state * fix(Empty): separated small and medium size for component * fix(Empty): images remove skeleton and loader, change message prop to title and refactor tests * fix(Empty): remove loading prop * fix(Empty): description and size map * fix(Empty): exports from index * fix(Empty): text size map --------- Co-authored-by: Areg Hakobyan <[email protected]> Co-authored-by: abrahamyan.karen <[email protected]> Co-authored-by: Galust <[email protected]>
1 parent 13b46d1 commit e4b364d

File tree

17 files changed

+694
-6
lines changed

17 files changed

+694
-6
lines changed

src/assets/images.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
declare module "*.svg" {
2+
import * as React from "react";
3+
4+
export const ReactComponent: React.FunctionComponent<React.SVGProps<SVGSVGElement>>;
5+
6+
const src: string;
7+
export default src;
8+
}

src/assets/media/empty/error.svg

Lines changed: 44 additions & 0 deletions
Loading
Lines changed: 30 additions & 0 deletions
Loading

src/assets/media/empty/info.svg

Lines changed: 47 additions & 0 deletions
Loading

src/assets/media/empty/noData.svg

Lines changed: 32 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)