wcz-layout
Version:
1 lines • 2.54 kB
Source Map (JSON)
{"version":3,"file":"RouterListItemButton-CF-8w-08.mjs","names":["<IconButton ref={reference} component=\"a\" {...props} />","<CreatedComponent {...props} />","Component","CreatedComponent","<ListItemButton ref={reference} component=\"a\" {...props} />","<CreatedComponent {...props} />"],"sources":["../src/components/router/RouterIconButton.tsx","../src/components/router/RouterListItemButton.tsx"],"sourcesContent":["import { IconButton } from \"@mui/material\";\nimport { createLink } from \"@tanstack/react-router\";\nimport React from \"react\";\nimport type { IconButtonProps } from \"@mui/material\";\nimport type { LinkComponent } from \"@tanstack/react-router\";\n\nconst Component = React.forwardRef<HTMLAnchorElement, IconButtonProps<\"a\">>(\n function IconButtonComponent(props, reference) {\n return <IconButton ref={reference} component=\"a\" {...props} />;\n },\n);\n\nconst CreatedComponent = createLink(Component);\n\nexport const RouterIconButton: LinkComponent<typeof Component> = (props) => {\n return <CreatedComponent {...props} />;\n};\n","import { ListItemButton } from \"@mui/material\";\nimport { createLink } from \"@tanstack/react-router\";\nimport React from \"react\";\nimport type { ListItemButtonProps } from \"@mui/material\";\nimport type { LinkComponent } from \"@tanstack/react-router\";\n\nconst Component = React.forwardRef<HTMLAnchorElement, ListItemButtonProps<\"a\">>(\n function ButtonComponent(props, reference) {\n return <ListItemButton ref={reference} component=\"a\" {...props} />;\n },\n);\n\nconst CreatedComponent = createLink(Component);\n\nexport const RouterListItemButton: LinkComponent<typeof Component> = (props) => {\n return <CreatedComponent {...props} />;\n};\n"],"mappings":";;;;;;AAMA,MAAME,cAAY,MAAM,WACtB,SAAS,oBAAoB,OAAO,WAAW;;CACtCF,IAAAA;CAA8C,IAAA,EAAA,OAAA,SAAA,EAAA,OAA7B,WAAA;EAAjB,KAAA,oBAAC,YAAD;GAAY,KAAK;GAAW,WAAA;GAAc,GAAI;EAAK,CAAA;EAAL,EAAA,KAAA;EAA7B,EAAA,KAAA;;;CAAxB,OAAOA;AACT,CACF;AAEA,MAAMG,qBAAmB,WAAWD,WAAS;AAE7C,MAAa,oBAAqD,UAAU;;CACnED,IAAAA;CAAsB,IAAA,EAAA,OAAA,OAAA;EAAtB,KAAA,oBAACE,oBAAD,EAAkB,GAAI,MAAK,CAAA;EAAL,EAAA,KAAA;;;CAA7B,OAAOF;AACT;;ACVA,MAAM,YAAY,MAAM,WACtB,SAAS,gBAAgB,OAAO,WAAW;;CAClCG,IAAAA;CAAkD,IAAA,EAAA,OAAA,SAAA,EAAA,OAA7B,WAAA;EAArB,KAAA,oBAAC,gBAAD;GAAgB,KAAK;GAAW,WAAA;GAAc,GAAI;EAAK,CAAA;EAAL,EAAA,KAAA;EAA7B,EAAA,KAAA;;;CAA5B,OAAOA;AACT,CACF;AAEA,MAAM,mBAAmB,WAAW,SAAS;AAE7C,MAAa,wBAAyD,UAAU;;CACvEC,IAAAA;CAAsB,IAAA,EAAA,OAAA,OAAA;EAAtB,KAAA,oBAAC,kBAAD,EAAkB,GAAI,MAAK,CAAA;EAAL,EAAA,KAAA;;;CAA7B,OAAOA;AACT"}