-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
This component does not naturally have type definitions for TypeScript. This is an old package and I do not expect changes, so I wanted to leave in a solution for users below.
If you are using this package you can add type support by creating a typescript declaration file.
// index.d.ts
declare module 'react-balance-text' {
const BalanceText: React.ComponentClass<{
children?: React.ReactNode,
className?: string,
style?: React.CSSProperties,
resize?: boolean,
}>;
export = BalanceText
}Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels