import React, { ComponentProps, useState } from 'react'; import { RtFormFieldText } from '@dpa/react-form-field-text'; import { AirplaneTypographyIcon } from '@dpa/react-typography-icons'; import { RtSticker } from '@dpa/react-sticker'; import classnames from 'classnames/bind'; import styles from './index.module.css'; import { RtFrame } from '@dpa/react-frame-intro'; const cn = classnames.bind(styles); export function StickersPage() { const [value, setValue] = useState(1000); type useType = ComponentProps['use']; const [use, setUse] = useState('cloudy'); const useList: useType[] = ['cloudy', 'foggy', 'success', 'primary']; return (
radius
dot
dot border
border
change icon
reverse icon
change variant
show zero
overflow count
exclamation mark
fraction
fraction border radius
setValue(+event.target.value)} type="number" value={`${value}`} size="md" ui="normal" />
); }