Skip to content

Commit

Permalink
chore: fixup into unstyled tailwind revamp
Browse files Browse the repository at this point in the history
  • Loading branch information
silviyaboteva committed Nov 29, 2024
1 parent 53c4b01 commit a44ba44
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
5 changes: 3 additions & 2 deletions examples/kendo-unstyled-tailwind/src/components/Form/Form.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import {
InputClearValue,
RadioGroup,
TextBox,
type TextBoxChangeEvent,
} from '@progress/kendo-react-inputs';
import { Label } from '@progress/kendo-react-labels';
import { xIcon } from '@progress/kendo-svg-icons';
Expand All @@ -28,8 +29,8 @@ const radioData = [

const FormTextBox = (fieldRenderProps: FieldRenderProps) => {
const { name, label, placeholder } = fieldRenderProps;
const [value, setValue] = React.useState('');
const handleChange = (e) => {
const [value, setValue] = React.useState<string | number | readonly string[] | undefined>('');
const handleChange = (e: TextBoxChangeEvent) => {
setValue(e.value);
};
const clearClick = () => {
Expand Down
2 changes: 0 additions & 2 deletions examples/kendo-unstyled-tailwind/src/layouts/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,8 @@ interface Props {
}
const { title } = Astro.props;
import colors from "tailwindcss/colors"
// TODO delete the kendo theme import
import "@progress/kendo-theme-default/dist/all.css";
import tailwindConfig from "../../tailwind.config.mjs";
---

<!doctype html>
Expand Down

0 comments on commit a44ba44

Please sign in to comment.