Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // This is _not_ supposed to be a real API. It's only intended to describe what
- // I'm looking for. It's almost intentionally awful.
- export const buttonHook = new OverrideHook({
- properties: ['margin'],
- });
- export default function Button(props) {
- return (
- <button
- {...props}
- type="button"
- className={classNames(
- props.className,
- buttonClassName,
- buttonHook.className
- )}
- />
- );
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement