# Component/PageIndicator > Props: component-pageindicator.props.txt ## Examples ### Base ```tsx { args: { totalPages: 15 }, render: args => { const [currentPage, setCurrentPage] = useState(args.currentPage ?? 1); return ; } } ``` ### Disabled ```tsx { args: { totalPages: 15 }, render: args => { const [currentPage, setCurrentPage] = useState(args.currentPage ?? 1); return ; }, args: { totalPages: 20, disabled: true } } ``` ### Size ```tsx { args: { totalPages: 15 }, render: args => { const [currentPage, setCurrentPage] = useState(args.currentPage ?? 1); return ; }, args: { totalPages: 20 }, render: args => { const [currentPage, setCurrentPage] = useState(args.currentPage ?? 1); const [currentPage2, setCurrentPage2] = useState(args.currentPage ?? 1); return medium small ; } } ```