Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
)
}
}
StarRating.propTypes = {
onChange: PropTypes.func,
starCount: PropTypes.number,
themeName: PropTypes.oneOf(Object.keys(themeNames)).isRequired,
value: PropTypes.number
}
StarRating.defaultProps = {
starCount: 5
}
export default withTheme(StarRating)
const { shape, themeName, ...filteredProps } = props
return <div>
}
Focusable.propTypes = {
shape: PropTypes.string,
themeName: PropTypes.string
}
Focusable.defaultProps = {
children: 'focusable',
tabIndex: 0
}
export default withTheme(Focusable)
</div>