Skip to content

Commit

Permalink
feat: big tags
Browse files Browse the repository at this point in the history
Signed-off-by: Maud Royer <[email protected]>
  • Loading branch information
jillro committed Jan 20, 2025
1 parent 9d2e32e commit cca474f
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 9 deletions.
1 change: 0 additions & 1 deletion src/components/tags/ClassTag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import "./dsfr-custom-tags.css";
export default function ClassTag(props: { atc2: ATC }) {
return (
<Tag
small
linkProps={{
href: `/atc/${props.atc2.code}`,
className: cx("fr-tag--custom-alt-class"),
Expand Down
1 change: 0 additions & 1 deletion src/components/tags/GenericTag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import "./dsfr-custom-tags.css";
export default function GenericTag(props: { specGeneId: string }) {
return (
<Tag
small
iconId="fr-icon-capsule-fill"
linkProps={{
className: cx("fr-tag--custom-alt-blue"),
Expand Down
3 changes: 0 additions & 3 deletions src/components/tags/PediatricsTags.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export default function PediatricsTags({ info }: { info: PediatricsInfo }) {
<>
{info.indication && (
<Tag
small
iconId={"fr-icon--custom-bedroom-baby" as FrIconClassName}
linkProps={{
href: `#`,
Expand All @@ -22,7 +21,6 @@ export default function PediatricsTags({ info }: { info: PediatricsInfo }) {
)}
{info.contraindication && (
<Tag
small
iconId={"fr-icon--custom-bedroom-baby" as FrIconClassName}
linkProps={{
href: `#`,
Expand All @@ -34,7 +32,6 @@ export default function PediatricsTags({ info }: { info: PediatricsInfo }) {
)}
{info.doctorAdvice && (
<Tag
small
iconId={"fr-icon--custom-bedroom-baby" as FrIconClassName}
linkProps={{
href: `#`,
Expand Down
1 change: 0 additions & 1 deletion src/components/tags/PregnancyTag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ import "./dsfr-custom-tags.css";
export default function PregnancyTag() {
return (
<Tag
small
iconId={"fr-icon--custom-pregnancy" as FrIconClassName}
linkProps={{
href: "#",
Expand Down
1 change: 0 additions & 1 deletion src/components/tags/PrescriptionTag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import "./dsfr-custom-tags.css";
export default function PrescriptionTag() {
return (
<Tag
small
iconId="fr-icon-file-text-fill"
nativeButtonProps={{
className: cx("fr-tag--custom-alt-blue"),
Expand Down
1 change: 0 additions & 1 deletion src/components/tags/PrincepsTag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import "./dsfr-custom-tags.css";
export default function PrincepsTag(props: { CIS: string }) {
return (
<Tag
small
iconId="fr-icon-capsule-fill"
linkProps={{
className: cx("fr-tag--custom-alt-blue"),
Expand Down
1 change: 0 additions & 1 deletion src/components/tags/SubstanceTag.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export default function SubstanceTag(props: {
}) {
return (
<Tag
small
linkProps={{
href: `/substances/${displaySimpleComposants(props.composants)
.map((s) => s.NomId.trim())
Expand Down

0 comments on commit cca474f

Please sign in to comment.