chore: fix api-reports

Signed-off-by: blam <ben@blam.sh>
This commit is contained in:
blam
2023-05-24 15:23:41 +02:00
parent 0c38c55f14
commit 29affaf4b9
3 changed files with 37 additions and 7 deletions
@@ -30,7 +30,11 @@ const useStyles = makeStyles(theme => ({
},
}));
interface FieldProps {
/**
* Props for the {@link ScaffolderField} component
* @alpha
*/
export interface ScaffolderFieldProps {
rawDescription?: string;
errors?: ReactElement;
rawErrors?: string[];
@@ -46,7 +50,9 @@ interface FieldProps {
* on the field types
* @alpha
*/
export const ScaffolderField = (props: PropsWithChildren<FieldProps>) => {
export const ScaffolderField = (
props: PropsWithChildren<ScaffolderFieldProps>,
) => {
const {
children,
displayLabel = true,
@@ -13,4 +13,4 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
export { ScaffolderField } from './ScaffolderField';
export { ScaffolderField, type ScaffolderFieldProps } from './ScaffolderField';