From 33ceff4110c142e0cf76219a4347d98e1bfe0b53 Mon Sep 17 00:00:00 2001 From: Karine Brandelli Padilha Date: Thu, 7 Dec 2023 13:45:18 -0300 Subject: [PATCH] fix: add export to interfaces --- package.json | 2 +- src/core/data-display/table/table-row.tsx | 2 +- src/core/inputs/radio-group/index.tsx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 80dfcb2b..78336e35 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "flipper-ui", - "version": "0.30.5", + "version": "0.30.6", "description": "", "main": "dist/index.js", "homepage": "https://flipper-ui.ngi.com.br/", diff --git a/src/core/data-display/table/table-row.tsx b/src/core/data-display/table/table-row.tsx index bbde6c34..4c44ea18 100644 --- a/src/core/data-display/table/table-row.tsx +++ b/src/core/data-display/table/table-row.tsx @@ -5,7 +5,7 @@ import React, { MouseEvent } from 'react' import { background as backgroundColor } from '@/colors' import { DefaultProps } from '../../types' -interface TableRowProps extends DefaultProps { +export interface TableRowProps extends DefaultProps { selected?: boolean hover?: boolean background?: string diff --git a/src/core/inputs/radio-group/index.tsx b/src/core/inputs/radio-group/index.tsx index 62837bfa..1dadf9c2 100644 --- a/src/core/inputs/radio-group/index.tsx +++ b/src/core/inputs/radio-group/index.tsx @@ -19,7 +19,7 @@ export interface RadioGroupProps extends DefaultProps { onChange?: (event: ChangeEvent) => void } -interface IOption { +export interface IOption { value: string label?: ReactNode disabled?: boolean